diff --git a/Rasaddam_Backend/settings.py b/Rasaddam_Backend/settings.py index 2cc147e..e833437 100644 --- a/Rasaddam_Backend/settings.py +++ b/Rasaddam_Backend/settings.py @@ -10,8 +10,9 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/5.2/ref/settings/ """ import os.path -from pathlib import Path from datetime import timedelta +from pathlib import Path + from django.conf import settings # Build paths inside the project like this: BASE_DIR / 'subdir'. @@ -42,6 +43,7 @@ INSTALLED_APPS = [ 'rest_framework', "corsheaders", 'rest_framework_simplejwt', + 'rest_framework_simplejwt.token_blacklist', 'apps.authentication.apps.AuthenticationConfig', 'apps.authorization.apps.AuthorizationConfig', 'apps.captcha_app.apps.CaptchaAppConfig', @@ -52,8 +54,10 @@ INSTALLED_APPS = [ 'apps.tag.apps.TagConfig', 'apps.warehouse.apps.WarehouseConfig', 'apps.search.apps.SearchConfig', + 'apps.log.apps.LogConfig', 'rest_captcha', 'captcha', + 'drf_yasg' ] MIDDLEWARE = [ @@ -64,6 +68,8 @@ MIDDLEWARE = [ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'crum.CurrentRequestUserMiddleware', + 'apps.log.middlewares.SaveLog' ] ROOT_URLCONF = 'Rasaddam_Backend.urls' @@ -88,6 +94,14 @@ WSGI_APPLICATION = 'Rasaddam_Backend.wsgi.application' # Database # https://docs.djangoproject.com/en/5.2/ref/settings/#databases +MONGODB_DATABASES = { + "default": { + "name": 'mongodb', + "host": "", + "tz_aware": True, # if you using timezones in django (USE_TZ = True) # noqa + }, +} + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', @@ -96,11 +110,28 @@ DATABASES = { 'USER': "root", 'PASSWORD': "aFC3hqbxxR0SeBPZ6TCZ37my", 'PORT': '32718' - } + }, } AUTH_USER_MODEL = 'authentication.User' +SWAGGER_SETTINGS = { + 'SECURITY_DEFINITIONS': { + 'Bearer': { + 'type': 'apiKey', + 'name': 'Authorization', + 'in': 'header' + }, + 'basic': { # <<-- is for djagno authentication + 'type': 'basic' + }, + }, + 'USE_SESSION_AUTH': True, +} + +LOGIN_URL = 'rest_framework:login' +LOGOUT_URL = 'rest_framework:logout' + REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', @@ -111,7 +142,8 @@ REST_FRAMEWORK = { 'rest_framework.authentication.BasicAuthentication', ), "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination", - "PAGE_SIZE": 25 + "PAGE_SIZE": 25, + 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema' } SIMPLE_JWT = { @@ -189,12 +221,11 @@ ELASTICSEARCH_DSL = { # liara elastic password uYkiQ860vLW8DIbWpNjqtz2B # noqa # local system password =z66+LCIebq4NQRR_+=R # noqa "default": { - "hosts": "http://damelasticsearch:9200", + "hosts": "http://monte-rosa.liara.cloud:31157", "http_auth": ("elastic", "uYkiQ860vLW8DIbWpNjqtz2B"), } } - # Password validation # https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators @@ -245,6 +276,7 @@ CORS_ORIGIN_WHITELIST = ( 'http://127.0.0.1:8080', 'http://127.0.0.1:3000', 'http://localhost:3000', + 'http://192.168.88.130:3000', 'https://rasadyar.net' ) @@ -253,6 +285,7 @@ CORS_ALLOWED_ORIGINS = ( 'http://127.0.0.1:8080', 'http://127.0.0.1:3000', 'http://localhost:3000', + 'http://192.168.88.130:3000', 'https://rasadyar.net' ) diff --git a/Rasaddam_Backend/urls.py b/Rasaddam_Backend/urls.py index 665177c..075609b 100644 --- a/Rasaddam_Backend/urls.py +++ b/Rasaddam_Backend/urls.py @@ -16,10 +16,18 @@ Including another URLconf """ from django.contrib import admin from django.urls import path, include +from apps.core.swagger import schema_view urlpatterns = [ path('admin/', admin.site.urls), + path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), path('auth/', include('apps.authentication.urls')), + path('auth/', include('apps.authorization.urls')), path('', include('apps.captcha_app.api.v1.urls')), path('', include('apps.core.urls')), + path('herd/', include('apps.herd.urls')), + path('livestock/', include('apps.livestock.urls')), + path('tag/', include('apps.tag.urls')), + path('search/', include('apps.search.urls')), + path('swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'), ] diff --git a/apps/authentication/api/v1/api.py b/apps/authentication/api/v1/api.py index 2838e49..9ffe500 100644 --- a/apps/authentication/api/v1/api.py +++ b/apps/authentication/api/v1/api.py @@ -1,35 +1,197 @@ +import typing + from apps.authentication.api.v1.serializers.jwt import CustomizedTokenObtainPairSerializer from rest_framework_simplejwt.authentication import JWTAuthentication +from rest_framework.decorators import action, permission_classes +from apps.authentication import permissions as auth_permissions +from apps.authentication.api.v1.serializers.serializer import ( + CitySerializer, + ProvinceSerializer, + OrganizationTypeSerializer, + OrganizationSerializer, + UserSerializer, + BankAccountSerializer +) from rest_framework_simplejwt.views import TokenObtainPairView +from apps.authorization.api.v1 import api as authorize_view from rest_framework.viewsets import ModelViewSet -from rest_framework.decorators import action -from apps.authentication.models import User -from rest_framework.views import APIView +from apps.authentication.models import ( + User, + City, + Province, + Organization, + OrganizationType, + BankAccountInformation +) from django.db import transaction +from rest_framework.response import Response +from common.tools import CustomOperations +from rest_framework import status class CustomizedTokenObtainPairView(TokenObtainPairView): + """ Generate Customize token """ serializer_class = CustomizedTokenObtainPairSerializer -# Example Code -class Authentication(ModelViewSet): - queryset = User - serializer_class = '' - permission_classes = '' - authentication_classes = [JWTAuthentication] - - @action( - methods=['post', ], - detail=False, - name='login', - url_name='login', - url_path='login' - ) - @transaction.atomic - def login(self, request): - pass - - class UserViewSet(ModelViewSet): - pass \ No newline at end of file + """ Crud operations for user model """ + queryset = User.objects.all() + serializer_class = UserSerializer + permission_classes = [ + auth_permissions.CreateUser, + ] + + @transaction.atomic + def create(self, request, *args, **kwargs): + """ + Customizing create user & bank account information with + permission levels + """ + + serializer = self.serializer_class(data=request.data) + if serializer.is_valid(): + user = serializer.save() + if 'organization' in request.data.keys(): + organization = CustomOperations().custom_create( # create organization for user + request=request, + view=OrganizationViewSet(), + data_key='organization' + ) + else: + organization = {} + if 'user_relations' in request.data.keys(): + user_relations = CustomOperations().custom_create( # create user relations + user=user, + request=request, + view=authorize_view.UserRelationViewSet(), + data_key='user_relations', + additional_data={'organization': organization['id']} # noqa + ) + else: + user_relations = {} + if 'bank_account' in request.data.keys(): + bank_account = CustomOperations().custom_create( # create user bank account info + user=user, + request=request, + view=BankAccountViewSet(), + data_key='bank_account' + ) + else: + bank_account = {} + serializer_data = serializer.data + serializer_data.update({ + 'organization': organization, + 'user_relations': user_relations, # noqa + 'bank_account': bank_account # noqa + }) + return Response(serializer_data, status=status.HTTP_201_CREATED) + else: + return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN) + + @transaction.atomic + def update(self, request, pk=None, *args, **kwargs): + """ + Customizing update user & bank account info with + permission levels + """ + serializer = self.serializer_class(data=request.data) + if serializer.is_valid(): + user = serializer.update(self.queryset.get(id=pk), validated_data=request.data) + if 'organization' in request.data.keys(): # noqa + organization = CustomOperations().custom_update( # update organization for user + request=request, + view=OrganizationViewSet(), + data_key='organization', + obj_id=request.data['organization']['id'] + ) + else: + organization = {} + if 'user_relations' in request.data.keys(): + user_relations = CustomOperations().custom_update( # update user relations + user=user, + request=request, + view=authorize_view.UserRelationViewSet(), + data_key='user_relations', + additional_data={'organization': request.data['organization']['id']}, # noqa + obj_id=request.data['user_relations']['id'] + ) + else: + user_relations = {} + if 'bank_account' in request.data.keys(): + bank_account = CustomOperations().custom_update( # update user bank account info + user=user, + request=request, + view=BankAccountViewSet(), + data_key='bank_account', + obj_id=request.data['bank_account']['id'] + ) + else: + bank_account = {} + serializer_data = serializer.data + serializer_data.update({ + 'organization': organization, + 'user_relations': user_relations, # noqa + 'bank_account': bank_account # noqa + }) + return Response(serializer_data, status=status.HTTP_200_OK) + else: + return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN) + + +class CityViewSet(ModelViewSet): + """ Crud operations for city model """ # + queryset = City.objects.all() + serializer_class = CitySerializer + + +class ProvinceViewSet(ModelViewSet): + """ Crud operations for province model """ # + queryset = Province.objects.all() + serializer_class = ProvinceSerializer + + +class OrganizationTypeViewSet(ModelViewSet): + """ Crud operations for Organization Type model """ # + queryset = OrganizationType.objects.all() + serializer_class = OrganizationTypeSerializer + + +class OrganizationViewSet(ModelViewSet): + """ Crud operations for organization model """ # + queryset = Organization.objects.all() + serializer_class = OrganizationSerializer + permission_classes = [auth_permissions.CreateOrganization] + + @transaction.atomic + def create(self, request, *args, **kwargs): + """ + @create Organization by user + """ + serializer = self.serializer_class(data=request.data['organization']) + + if serializer.is_valid(): + organization = serializer.save() + + if 'user_relations' in request.data.keys(): + user_relations = CustomOperations().custom_create( # create user relations + request=request, + view=authorize_view.UserRelationViewSet(), + data_key='user_relations', + additional_data={'organization': organization.id} # noqa + ) + serializer_data = serializer.data + serializer_data.update( + {'user_relations': user_relations} + ) + return Response(serializer_data, status=status.HTTP_201_CREATED) + else: + return Response(serializer.data, status=status.HTTP_201_CREATED) + else: + return Response(serializer.errors, status=status.HTTP_406_NOT_ACCEPTABLE) + + +class BankAccountViewSet(ModelViewSet): + """ Crud operations for bank account model """ # + queryset = BankAccountInformation.objects.all() + serializer_class = BankAccountSerializer diff --git a/apps/authentication/api/v1/search_view.py b/apps/authentication/api/v1/search_view.py index 84db93c..455d79b 100644 --- a/apps/authentication/api/v1/search_view.py +++ b/apps/authentication/api/v1/search_view.py @@ -1,53 +1,53 @@ -from apps.authentication.api.v1.serializers.serializer import UserSerializer -from rest_framework.pagination import LimitOffsetPagination -from rest_framework.viewsets import ModelViewSet, ViewSet -from apps.authentication.documents import UserDocument -from rest_framework.response import Response -from django.http.response import HttpResponse -from apps.authentication.models import User -from rest_framework.views import APIView -from elasticsearch_dsl.query import Q -import abc - - -class PaginatedElasticSearchApiView(APIView, LimitOffsetPagination): - """Base ApiView Class for elasticsearch views with pagination - Other ApiView classes should inherit from this class""" - serializer_class = None - document_class = None - - @abc.abstractmethod - def generate_q_expression(self, query): - """This method should be overridden - and return a Q() expression.""" - - def get(self, request, query): - try: - q = self.generate_q_expression(query) - search = self.document_class.search().query(q) - response = search.execute() - - print(f"Found {response.hits.total.value} hit(s) for query: '{query}'") - - results = self.paginate_queryset(response, request, view=self) # noqa - serializer = self.serializer_class(results, many=True) - return self.get_paginated_response(serializer.data) - except Exception as e: - return HttpResponse(e, status=500) - - -class SearchUsersApiView(PaginatedElasticSearchApiView): # noqa - """Search in Users""" - - serializer_class = UserSerializer - document_class = UserDocument - - def generate_q_expression(self, query): - return Q( - 'multi_match', - query=query, - fields=[ - 'username', - 'mobile' - ], fuzziness='auto' - ) +# from apps.authentication.api.v1.serializers.serializer import UserSerializer +# from rest_framework.pagination import LimitOffsetPagination +# from rest_framework.viewsets import ModelViewSet, ViewSet +# from apps.authentication.document import UserDocument +# from rest_framework.response import Response +# from django.http.response import HttpResponse +# from apps.authentication.models import User +# from rest_framework.views import APIView +# from elasticsearch_dsl.query import Q +# import abc +# +# +# class PaginatedElasticSearchApiView(APIView, LimitOffsetPagination): +# """Base ApiView Class for elasticsearch views with pagination, +# Other ApiView classes should inherit from this class""" +# serializer_class = None +# document_class = None +# +# @abc.abstractmethod +# def generate_q_expression(self, query): +# """This method should be overridden +# and return a Q() expression.""" +# +# def get(self, request, query): +# try: +# q = self.generate_q_expression(query) +# search = self.document_class.search().query(q) +# response = search.execute() +# +# print(f"Found {response.hits.total.value} hit(s) for query: '{query}'") +# +# results = self.paginate_queryset(response, request, view=self) # noqa +# serializer = self.serializer_class(results, many=True) +# return self.get_paginated_response(serializer.data) +# except Exception as e: +# return HttpResponse(e, status=500) +# +# +# class SearchUsersApiView(PaginatedElasticSearchApiView): # noqa +# """Search in Users""" +# +# serializer_class = UserSerializer +# document_class = UserDocument +# +# def generate_q_expression(self, query): +# return Q( +# 'multi_match', +# query=query, +# fields=[ +# 'username', +# 'mobile' +# ], fuzziness='auto' +# ) diff --git a/apps/authentication/api/v1/serializers/serializer.py b/apps/authentication/api/v1/serializers/serializer.py index 3df7158..0a7c8d4 100644 --- a/apps/authentication/api/v1/serializers/serializer.py +++ b/apps/authentication/api/v1/serializers/serializer.py @@ -1,11 +1,179 @@ +from apps.authorization.api.v1.serializers import UserRelationSerializer +from rest_framework.response import Response from rest_framework import serializers -from apps.authentication.models import User +from apps.authentication.models import ( + User, + City, + Province, + Organization, + OrganizationType, + BankAccountInformation +) +from apps.authorization import models as authorize_models +import typing + + +class CitySerializer(serializers.ModelSerializer): + class Meta: + model = City + fields = [ + 'id', + 'name' + ] + + +class ProvinceSerializer(serializers.ModelSerializer): + class Meta: + model = Province + fields = [ + 'id', + 'name' + ] + + +class BankAccountSerializer(serializers.ModelSerializer): + class Meta: + model = BankAccountInformation + fields = [ + 'id', + 'user', + 'account', + 'name', + 'card', + 'sheba' + ] + extra_kwargs = { + 'user': {'required': False}, + 'account': {'required': False}, + 'card': {'required': False}, + 'sheba': {'required': False} + } + + def update(self, instance, validated_data): + """ update user bank account information """ + instance.name = validated_data.get('name', instance.name) + instance.account = validated_data.get('account', instance.account) + instance.card = validated_data.get('card', instance.card) + instance.sheba = validated_data.get('sheba', instance.sheba) + instance.save() + return instance class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = [ + 'id', 'username', - 'mobile' + 'password', + 'first_name', + 'last_name', + 'is_active', + 'mobile', + 'phone', + 'national_code', + 'birthdate', + 'nationality', + 'ownership', + 'address', + 'photo', + 'province', + 'city', + 'otp_status', ] + + def update(self, instance, validated_data): + """ update user instance """ + instance.username = validated_data.get('username', instance.username) + instance.password = validated_data.get('password', instance.password) + instance.first_name = validated_data.get('first_name') + instance.last_name = validated_data.get('last_name') + instance.is_active = validated_data.get('is_active') + instance.mobile = validated_data.get('mobile') + instance.phone = validated_data.get('phone') + instance.national_code = validated_data.get('national_code') + instance.birthdate = validated_data.get('birthdate') + instance.nationality = validated_data.get('nationality') + instance.ownership = validated_data.get('ownership') + instance.address = validated_data.get('address') + instance.photo = validated_data.get('photo') + instance.province = Province.objects.get(id=validated_data.get('province')) + instance.city = City.objects.get(id=validated_data.get('city')) + instance.otp_status = validated_data.get('otp_status') + instance.save() + + return instance + + @staticmethod + def update_relations(user: object, relation_data: dict, bank_data: dict) -> typing.Any: + """ + update user relations & bank account for user + """ + user_relation = UserRelationSerializer(data=relation_data) # Create user relation + if user_relation.is_valid(raise_exception=True): + user_relation_obj = user_relation.update( + authorize_models.UserRelations.objects.get(user=user), + validated_data=relation_data + ) + + bank_info = BankAccountSerializer(data=bank_data) # Create user bank information + if bank_info.is_valid(raise_exception=True): + bank_obj = bank_info.update( + BankAccountInformation.objects.get(id=bank_data['id']), + validated_data=bank_data + ) + + return user_relation_obj, bank_obj # noqa + + +class OrganizationTypeSerializer(serializers.ModelSerializer): + class Meta: + model = OrganizationType + fields = [ + 'id', + 'key', + 'name', + ] + + +class OrganizationSerializer(serializers.ModelSerializer): + class Meta: + model = Organization + fields = [ + 'id', + 'name', + 'type', + 'province', + 'city', + 'parent_organization', + 'national_unique_id' + ] + extra_kwargs = {} + + def to_representation(self, instance): + representation = super().to_representation(instance) + if isinstance(instance, Organization): + representation['province'] = ProvinceSerializer(instance.province).data + representation['city'] = CitySerializer(instance.city).data + representation['type'] = OrganizationTypeSerializer(instance.type).data + if instance.parent_organization: + representation['parent_organization'] = OrganizationSerializer(instance.parent_organization).data + + return representation + + def update(self, instance, validated_data): + """ update user organization information """ # noqa + instance.name = validated_data.get('name', instance.name) + if validated_data.get('type'): + instance.type = OrganizationType.objects.get(id=validated_data.get('type', instance.type)) + if validated_data.get('province'): + instance.province = Province.objects.get(id=validated_data.get('province', instance.province)) + if validated_data.get('city'): + instance.city = City.objects.get(id=validated_data.get('city', instance.city)) + if validated_data.get('parent_organization'): + instance.parent_organization = Organization.objects.get( + id=validated_data.get('parent_organization', instance.parent_organization) + ) + instance.national_unique_id = validated_data.get('national_unique_id', instance.national_unique_id) + instance.save() + return instance diff --git a/apps/authentication/api/v1/urls.py b/apps/authentication/api/v1/urls.py index dd2ce67..06dc114 100644 --- a/apps/authentication/api/v1/urls.py +++ b/apps/authentication/api/v1/urls.py @@ -3,16 +3,29 @@ from rest_framework.routers import DefaultRouter from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, - TokenVerifyView + TokenVerifyView, + TokenBlacklistView ) from .api import ( - CustomizedTokenObtainPairView + CustomizedTokenObtainPairView, + UserViewSet, + CityViewSet, + ProvinceViewSet, + OrganizationViewSet, + OrganizationTypeViewSet ) -from .search_view import SearchUsersApiView + +router = DefaultRouter() +router.register(r'user', UserViewSet, basename='user') +router.register(r'city', CityViewSet, basename='city') +router.register(r'province', ProvinceViewSet, basename='province') +router.register(r'organization', OrganizationViewSet, basename='organization') +router.register(r'organization-type', OrganizationTypeViewSet, basename='organization_type') urlpatterns = [ path('login/', CustomizedTokenObtainPairView.as_view(), name='token_obtain_pair'), - path('search_user/', SearchUsersApiView.as_view(), name='search_user'), path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'), path('token/verify/', TokenVerifyView.as_view(), name='token_verify'), + path('token/revoke/', TokenBlacklistView.as_view(), name='revoke_token'), + path('', include(router.urls)) ] diff --git a/apps/authentication/documents.py b/apps/authentication/documents.py index accb310..2da4d47 100644 --- a/apps/authentication/documents.py +++ b/apps/authentication/documents.py @@ -1,24 +1,24 @@ -from .models import User, Province -from django_elasticsearch_dsl import Document, fields -from django_elasticsearch_dsl.registries import registry - - -@registry.register_document -class UserDocument(Document): - """ElasticSearch Document for indexing users""" - - class Index: - name = 'users' - settings = { - 'number_of_shards': 1, - 'number_of_replicas': 0 # number of copies from data in document - } - - class Django: - model = User - fields = [ - "id", - "username", - "mobile", - "nationality" - ] +# from .models import User, Province +# from django_elasticsearch_dsl import Document, fields +# from django_elasticsearch_dsl.registries import registry +# +# +# @registry.register_document +# class UserDocument(Document): +# """ElasticSearch Document for indexing users""" +# +# class Index: +# name = 'users' +# settings = { +# 'number_of_shards': 1, +# 'number_of_replicas': 0 # number of copies from data in document +# } +# +# class Django: +# model = User +# fields = [ +# "id", +# "username", +# "mobile", +# "nationality" +# ] diff --git a/apps/authentication/managers.py b/apps/authentication/managers.py new file mode 100644 index 0000000..95d6cb8 --- /dev/null +++ b/apps/authentication/managers.py @@ -0,0 +1,18 @@ +from django.db import models +from typing import Any +from apps.authentication import models as authentication_models +from apps.authorization import models as authorization_models + + +class UserManager(models.Manager): + + @staticmethod + def get_user_information(self, user_id: int) -> Any: + """ get user information in 3 models and return 3 objects """ + user = super().get_queryset().get(id=user_id) + yield user + bank = authentication_models.BankAccountInformation.objects.get(user_id=user_id) + yield bank + user_relation = authorization_models.objects.get(user_id=user_id) + yield user_relation + diff --git a/apps/authentication/migrations/0008_remove_organization_type_organizationtype.py b/apps/authentication/migrations/0008_remove_organization_type_organizationtype.py new file mode 100644 index 0000000..9f4804d --- /dev/null +++ b/apps/authentication/migrations/0008_remove_organization_type_organizationtype.py @@ -0,0 +1,35 @@ +# Generated by Django 4.2.20 on 2025-05-10 08:51 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0007_user_ownership'), + ] + + operations = [ + migrations.RemoveField( + model_name='organization', + name='type', + ), + migrations.CreateModel( + name='OrganizationType', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('key', models.CharField(choices=[('J', 'Jihad'), ('U', 'Union'), ('CO', 'Cooperative'), ('CMP', 'Companies')], max_length=3)), + ('name', models.CharField(max_length=50, null=True)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/apps/authentication/migrations/0009_organization_type.py b/apps/authentication/migrations/0009_organization_type.py new file mode 100644 index 0000000..2b25c4c --- /dev/null +++ b/apps/authentication/migrations/0009_organization_type.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.20 on 2025-05-10 08:52 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0008_remove_organization_type_organizationtype'), + ] + + operations = [ + migrations.AddField( + model_name='organization', + name='type', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='organization_type', to='authentication.organizationtype'), + ), + ] diff --git a/apps/authentication/migrations/0010_organization_company_code_and_more.py b/apps/authentication/migrations/0010_organization_company_code_and_more.py new file mode 100644 index 0000000..1097226 --- /dev/null +++ b/apps/authentication/migrations/0010_organization_company_code_and_more.py @@ -0,0 +1,49 @@ +# Generated by Django 4.2.20 on 2025-05-13 06:28 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0009_organization_type'), + ] + + operations = [ + migrations.AddField( + model_name='organization', + name='company_code', + field=models.CharField(default='empty', max_length=30), + ), + migrations.AddField( + model_name='organization', + name='field_of_activity', + field=models.CharField(choices=[('CO', 'Country'), ('PR', 'Province'), ('CI', 'City')], default='EM', max_length=2), + ), + migrations.AddField( + model_name='user', + name='is_herd_owner', + field=models.BooleanField(default=False), + ), + migrations.CreateModel( + name='BankAccountInformation', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('name', models.CharField(max_length=150)), + ('card', models.CharField(max_length=25, unique=True)), + ('account', models.CharField(max_length=25, unique=True)), + ('sheba', models.CharField(max_length=30, unique=True)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bank_information', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/apps/authentication/migrations/0011_organization_national_unique_id.py b/apps/authentication/migrations/0011_organization_national_unique_id.py new file mode 100644 index 0000000..58ee96b --- /dev/null +++ b/apps/authentication/migrations/0011_organization_national_unique_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-13 06:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0010_organization_company_code_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='organization', + name='national_unique_id', + field=models.CharField(default='0', max_length=30), + ), + ] diff --git a/apps/authentication/migrations/0012_alter_organization_national_unique_id.py b/apps/authentication/migrations/0012_alter_organization_national_unique_id.py new file mode 100644 index 0000000..c537c2d --- /dev/null +++ b/apps/authentication/migrations/0012_alter_organization_national_unique_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-13 07:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0011_organization_national_unique_id'), + ] + + operations = [ + migrations.AlterField( + model_name='organization', + name='national_unique_id', + field=models.CharField(default='0', max_length=30, unique=True), + ), + ] diff --git a/apps/authentication/migrations/0013_remove_bankaccountinformation_created_by_and_more.py b/apps/authentication/migrations/0013_remove_bankaccountinformation_created_by_and_more.py new file mode 100644 index 0000000..e55acac --- /dev/null +++ b/apps/authentication/migrations/0013_remove_bankaccountinformation_created_by_and_more.py @@ -0,0 +1,61 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0012_alter_organization_national_unique_id'), + ] + + operations = [ + migrations.RemoveField( + model_name='bankaccountinformation', + name='created_by', + ), + migrations.RemoveField( + model_name='bankaccountinformation', + name='modified_by', + ), + migrations.RemoveField( + model_name='city', + name='created_by', + ), + migrations.RemoveField( + model_name='city', + name='modified_by', + ), + migrations.RemoveField( + model_name='organization', + name='created_by', + ), + migrations.RemoveField( + model_name='organization', + name='modified_by', + ), + migrations.RemoveField( + model_name='organizationtype', + name='created_by', + ), + migrations.RemoveField( + model_name='organizationtype', + name='modified_by', + ), + migrations.RemoveField( + model_name='province', + name='created_by', + ), + migrations.RemoveField( + model_name='province', + name='modified_by', + ), + migrations.RemoveField( + model_name='user', + name='created_by', + ), + migrations.RemoveField( + model_name='user', + name='modified_by', + ), + ] diff --git a/apps/authentication/migrations/0014_bankaccountinformation_created_by_and_more.py b/apps/authentication/migrations/0014_bankaccountinformation_created_by_and_more.py new file mode 100644 index 0000000..48b86cd --- /dev/null +++ b/apps/authentication/migrations/0014_bankaccountinformation_created_by_and_more.py @@ -0,0 +1,73 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0013_remove_bankaccountinformation_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='bankaccountinformation', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='bankaccountinformation', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='city', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='city', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='organization', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='organization', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='organizationtype', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='organizationtype', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='province', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='province', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='user', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='user', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/authentication/migrations/0015_remove_bankaccountinformation_created_by_and_more.py b/apps/authentication/migrations/0015_remove_bankaccountinformation_created_by_and_more.py new file mode 100644 index 0000000..fd9aecf --- /dev/null +++ b/apps/authentication/migrations/0015_remove_bankaccountinformation_created_by_and_more.py @@ -0,0 +1,61 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0014_bankaccountinformation_created_by_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='bankaccountinformation', + name='created_by', + ), + migrations.RemoveField( + model_name='bankaccountinformation', + name='modified_by', + ), + migrations.RemoveField( + model_name='city', + name='created_by', + ), + migrations.RemoveField( + model_name='city', + name='modified_by', + ), + migrations.RemoveField( + model_name='organization', + name='created_by', + ), + migrations.RemoveField( + model_name='organization', + name='modified_by', + ), + migrations.RemoveField( + model_name='organizationtype', + name='created_by', + ), + migrations.RemoveField( + model_name='organizationtype', + name='modified_by', + ), + migrations.RemoveField( + model_name='province', + name='created_by', + ), + migrations.RemoveField( + model_name='province', + name='modified_by', + ), + migrations.RemoveField( + model_name='user', + name='created_by', + ), + migrations.RemoveField( + model_name='user', + name='modified_by', + ), + ] diff --git a/apps/authentication/migrations/0016_bankaccountinformation_created_by_and_more.py b/apps/authentication/migrations/0016_bankaccountinformation_created_by_and_more.py new file mode 100644 index 0000000..c4b3c5e --- /dev/null +++ b/apps/authentication/migrations/0016_bankaccountinformation_created_by_and_more.py @@ -0,0 +1,75 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0015_remove_bankaccountinformation_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='bankaccountinformation', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='bankaccountinformation', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='city', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='city', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organization', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organization', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organizationtype', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='organizationtype', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='province', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='province', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='user', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='user', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/authentication/migrations/0017_bankaccountinformation_creator_info_and_more.py b/apps/authentication/migrations/0017_bankaccountinformation_creator_info_and_more.py new file mode 100644 index 0000000..698b5c0 --- /dev/null +++ b/apps/authentication/migrations/0017_bankaccountinformation_creator_info_and_more.py @@ -0,0 +1,73 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0016_bankaccountinformation_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='bankaccountinformation', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='bankaccountinformation', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='city', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='city', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='organization', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='organization', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='organizationtype', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='organizationtype', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='province', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='province', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='user', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='user', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/authentication/models.py b/apps/authentication/models.py index dddec0a..195838f 100644 --- a/apps/authentication/models.py +++ b/apps/authentication/models.py @@ -1,8 +1,9 @@ -from django.db import models +from django.contrib.auth.hashers import make_password from django.contrib.auth.models import ( AbstractUser ) from apps.core.models import BaseModel +from django.db import models class User(AbstractUser, BaseModel): @@ -36,15 +37,17 @@ class User(AbstractUser, BaseModel): null=True ) otp_status = models.BooleanField(default=False) + is_herd_owner = models.BooleanField(default=False) def __str__(self): return f'{self.username} {self.last_name}-{self.last_login}' def save(self, *args, **kwargs): + self.password = make_password(self.password) super(User, self).save(*args, **kwargs) -class Province(BaseModel): +class Province(BaseModel): # noqa name = models.CharField(max_length=50) def __str__(self): @@ -64,9 +67,39 @@ class City(BaseModel): super(City, self).save(*args, **kwargs) +class OrganizationType(BaseModel): + organization_keys = ( + ('J', 'Jihad'), + ('U', 'Union'), + ('CO', 'Cooperative'), + ('CMP', 'Companies') + ) + key = models.CharField(choices=organization_keys, max_length=3) + name = models.CharField(max_length=50, null=True) + + def __str__(self): + return f'{self.key}-{self.name}' + + def save(self, *args, **kwargs): + super(OrganizationType, self).save(*args, **kwargs) + + class Organization(BaseModel): name = models.CharField(max_length=50) - type = models.CharField(max_length=50) + type = models.ForeignKey( + 'OrganizationType', + on_delete=models.CASCADE, + related_name="organization_type", + null=True + ) + national_unique_id = models.CharField(max_length=30, default="0", unique=True) + activity_fields = ( + ('CO', 'Country'), + ('PR', 'Province'), + ('CI', 'City') + ) + field_of_activity = models.CharField(max_length=2, choices=activity_fields, default='EM') + company_code = models.CharField(max_length=30, default="empty") province = models.ForeignKey( Province, on_delete=models.CASCADE, @@ -91,3 +124,21 @@ class Organization(BaseModel): def save(self, *args, **kwargs): super(Organization, self).save(*args, **kwargs) + + +class BankAccountInformation(BaseModel): + user = models.ForeignKey( + User, + on_delete=models.CASCADE, + related_name="bank_information" + ) + name = models.CharField(max_length=150) + card = models.CharField(max_length=25, unique=True) + account = models.CharField(max_length=25, unique=True) + sheba = models.CharField(max_length=30, unique=True) + + def __str__(self): + return f'{self.name}-{self.card}' + + def save(self, *args, **kwargs): + super(BankAccountInformation, self).save(*args, **kwargs) diff --git a/apps/authentication/permissions.py b/apps/authentication/permissions.py new file mode 100644 index 0000000..9c2cb6f --- /dev/null +++ b/apps/authentication/permissions.py @@ -0,0 +1,57 @@ +from apps.authorization import models as authorize_models +from apps.authentication.models import OrganizationType +from apps.core import permissions + + +class CreateUser(permissions.BasePermission): + """ + @permission: superuser can add users + """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'superuser' in user_level_info['permissions']: + if 'organization' in request.data.keys(): + org_type = OrganizationType.objects.get( # noqa + id=request.data['organization']['type'] + ) + print(org_type.key) + if 'J' in user_level_info['organization_type']: + return True + if 'U' in user_level_info['organization_type']: + if org_type.key == 'J' or org_type.key == 'U': + return False + else: + return True + if 'CO' in user_level_info['organization_type']: + if org_type.key == 'J' or org_type.key == 'U' or org_type.key == 'CO': + return False + else: + return True + return True + + +class CreateOrganization(permissions.BasePermission): + """ + @permission for adding organization + """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'superuser' in user_level_info['permissions']: + org_type = OrganizationType.objects.get( # noqa + id=request.data['organization']['type'] + ) + print(org_type.key) + if 'J' in user_level_info['organization_type']: + return True + if 'U' in user_level_info['organization_type']: + if org_type.key == 'J' or org_type.key == 'U': + return False + else: + return True + if 'CO' in user_level_info['organization_type']: + if org_type.key == 'J' or org_type.key == 'U' or org_type.key == 'CO': + return False + else: + return True diff --git a/apps/authorization/api/__init__.py b/apps/authorization/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/api/v1/__init__.py b/apps/authorization/api/v1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/api/v1/api.py b/apps/authorization/api/v1/api.py new file mode 100644 index 0000000..d290a81 --- /dev/null +++ b/apps/authorization/api/v1/api.py @@ -0,0 +1,36 @@ +from rest_framework_simplejwt.authentication import JWTAuthentication +from rest_framework.permissions import AllowAny, IsAuthenticated +from apps.authorization.api.v1.serializers import ( + RoleSerializer, + PermissionSerializer, + UserRelationSerializer +) +from rest_framework.response import Response +from apps.authorization.models import ( + Role, + Permissions, + UserRelations +) +from rest_framework import viewsets + + +class RoleViewSet(viewsets.ModelViewSet): + """ Crud Operations For User Roles """ + + queryset = Role.objects.all() + serializer_class = RoleSerializer + + +class PermissionViewSet(viewsets.ModelViewSet): + """ Crud Operations for Permissions """ + + queryset = Permissions.objects.all() + serializer_class = PermissionSerializer + + +class UserRelationViewSet(viewsets.ModelViewSet): + """ Crud Operations for User Relations """ + + queryset = UserRelations.objects.all() + serializer_class = UserRelationSerializer + diff --git a/apps/authorization/api/v1/serializers.py b/apps/authorization/api/v1/serializers.py new file mode 100644 index 0000000..7e0eb06 --- /dev/null +++ b/apps/authorization/api/v1/serializers.py @@ -0,0 +1,81 @@ +from rest_framework import serializers +from apps.authorization.models import ( + Role, + Permissions, + UserRelations +) +from apps.authentication.api.v1.serializers import serializer as auth_serializer +from apps.authentication.models import Organization + + +class PermissionSerializer(serializers.ModelSerializer): + class Meta: + model = Permissions + fields = [ + 'id', + 'name', + 'description' + ] + + +class RoleSerializer(serializers.ModelSerializer): + class Meta: + model = Role + fields = [ + 'id', + 'role_name', + 'description', + 'type', + 'permissions' + ] + extra_kwargs = { + 'permissions': {'required': False} # permissions not required for some roles + } + + def to_representation(self, instance): + """ + using @to_representation for many_to_many permissions in response + """ + representation = super().to_representation(instance) + representation['type'] = auth_serializer.OrganizationTypeSerializer(instance.type).data + representation['permissions'] = PermissionSerializer(instance.permissions, many=True).data + return representation + + +class UserRelationSerializer(serializers.ModelSerializer): + class Meta: + model = UserRelations + fields = [ + 'id', + 'user', + 'organization', + 'role', + 'permissions', + ] + + def to_representation(self, instance): + representation = super().to_representation(instance) + if isinstance(instance, UserRelations): + if instance.user: + representation['user'] = auth_serializer.UserSerializer(instance.user).data + if instance.organization: + representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data + if instance.role: + representation['role'] = RoleSerializer(instance.role).data + if instance.permissions: + representation['permissions'] = PermissionSerializer(instance.permissions, many=True).data + + return representation + + def update(self, instance, validated_data): + """ update user relation object """ + if validated_data.get('role'): + instance.role = Role.objects.get(id=validated_data.get('role', instance.role)) + if validated_data.get('organization'): + instance.organization = Organization.objects.get(id=validated_data.get( + 'organization', instance.organization + )) + instance.save() + instance.permissions.clear() + instance.permissions.add(*(validated_data.get('permissions', instance.permissions))) + return instance diff --git a/apps/authorization/api/v1/urls.py b/apps/authorization/api/v1/urls.py new file mode 100644 index 0000000..b1a9043 --- /dev/null +++ b/apps/authorization/api/v1/urls.py @@ -0,0 +1,18 @@ +from rest_framework.routers import DefaultRouter +from django.urls import path, include +from .api import ( + RoleViewSet, + PermissionViewSet, + UserRelationViewSet +) + +router = DefaultRouter() # set router + +# register route to router +router.register(r'role', RoleViewSet, basename='role') +router.register(r'permission', PermissionViewSet, basename='permission') +router.register(r'user-relations', UserRelationViewSet, basename='organization-role') + +urlpatterns = [ + path('', include(router.urls)) +] diff --git a/apps/authorization/fixtures/.gitkeep b/apps/authorization/fixtures/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/management/__init__.py b/apps/authorization/management/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/management/commands/__init__.py b/apps/authorization/management/commands/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/management/commands/command.py b/apps/authorization/management/commands/command.py new file mode 100644 index 0000000..c68face --- /dev/null +++ b/apps/authorization/management/commands/command.py @@ -0,0 +1 @@ +# Your custom management commands go here. diff --git a/apps/authorization/migrations/0004_alter_role_permissions.py b/apps/authorization/migrations/0004_alter_role_permissions.py new file mode 100644 index 0000000..64b1d30 --- /dev/null +++ b/apps/authorization/migrations/0004_alter_role_permissions.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-07 05:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0003_remove_organizationrole_otp_status'), + ] + + operations = [ + migrations.AlterField( + model_name='role', + name='permissions', + field=models.ManyToManyField(null=True, to='authorization.permissions'), + ), + ] diff --git a/apps/authorization/migrations/0005_alter_role_permissions.py b/apps/authorization/migrations/0005_alter_role_permissions.py new file mode 100644 index 0000000..476eca9 --- /dev/null +++ b/apps/authorization/migrations/0005_alter_role_permissions.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-07 05:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0004_alter_role_permissions'), + ] + + operations = [ + migrations.AlterField( + model_name='role', + name='permissions', + field=models.ManyToManyField(to='authorization.permissions'), + ), + ] diff --git a/apps/authorization/migrations/0006_alter_role_role_name.py b/apps/authorization/migrations/0006_alter_role_role_name.py new file mode 100644 index 0000000..7baca8d --- /dev/null +++ b/apps/authorization/migrations/0006_alter_role_role_name.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-07 08:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0005_alter_role_permissions'), + ] + + operations = [ + migrations.AlterField( + model_name='role', + name='role_name', + field=models.CharField(max_length=50, unique=True), + ), + ] diff --git a/apps/authorization/migrations/0007_organizationrole_permissions.py b/apps/authorization/migrations/0007_organizationrole_permissions.py new file mode 100644 index 0000000..7cad893 --- /dev/null +++ b/apps/authorization/migrations/0007_organizationrole_permissions.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.20 on 2025-05-07 09:14 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0006_alter_role_role_name'), + ] + + operations = [ + migrations.AddField( + model_name='organizationrole', + name='permissions', + field=models.ManyToManyField(to='authorization.permissions'), + ), + ] diff --git a/apps/authorization/migrations/0008_delete_organizationrole.py b/apps/authorization/migrations/0008_delete_organizationrole.py new file mode 100644 index 0000000..e5bcb0e --- /dev/null +++ b/apps/authorization/migrations/0008_delete_organizationrole.py @@ -0,0 +1,16 @@ +# Generated by Django 4.2.20 on 2025-05-10 06:26 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0007_organizationrole_permissions'), + ] + + operations = [ + migrations.DeleteModel( + name='OrganizationRole', + ), + ] diff --git a/apps/authorization/migrations/0009_role_type_userrelations.py b/apps/authorization/migrations/0009_role_type_userrelations.py new file mode 100644 index 0000000..a24a794 --- /dev/null +++ b/apps/authorization/migrations/0009_role_type_userrelations.py @@ -0,0 +1,40 @@ +# Generated by Django 4.2.20 on 2025-05-10 08:51 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('authentication', '0008_remove_organization_type_organizationtype'), + ('authorization', '0008_delete_organizationrole'), + ] + + operations = [ + migrations.AddField( + model_name='role', + name='type', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='organization_role_type', to='authentication.organizationtype'), + ), + migrations.CreateModel( + name='UserRelations', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ('organization', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_organization', to='authentication.organization')), + ('permissions', models.ManyToManyField(to='authorization.permissions')), + ('role', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_role', to='authorization.role')), + ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_relation', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/apps/authorization/migrations/0010_remove_permissions_created_by_and_more.py b/apps/authorization/migrations/0010_remove_permissions_created_by_and_more.py new file mode 100644 index 0000000..069b593 --- /dev/null +++ b/apps/authorization/migrations/0010_remove_permissions_created_by_and_more.py @@ -0,0 +1,37 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0009_role_type_userrelations'), + ] + + operations = [ + migrations.RemoveField( + model_name='permissions', + name='created_by', + ), + migrations.RemoveField( + model_name='permissions', + name='modified_by', + ), + migrations.RemoveField( + model_name='role', + name='created_by', + ), + migrations.RemoveField( + model_name='role', + name='modified_by', + ), + migrations.RemoveField( + model_name='userrelations', + name='created_by', + ), + migrations.RemoveField( + model_name='userrelations', + name='modified_by', + ), + ] diff --git a/apps/authorization/migrations/0011_permissions_created_by_permissions_modified_by_and_more.py b/apps/authorization/migrations/0011_permissions_created_by_permissions_modified_by_and_more.py new file mode 100644 index 0000000..41c12b5 --- /dev/null +++ b/apps/authorization/migrations/0011_permissions_created_by_permissions_modified_by_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0010_remove_permissions_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='permissions', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='permissions', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='role', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='role', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='userrelations', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='userrelations', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/authorization/migrations/0012_remove_permissions_created_by_and_more.py b/apps/authorization/migrations/0012_remove_permissions_created_by_and_more.py new file mode 100644 index 0000000..9e4463f --- /dev/null +++ b/apps/authorization/migrations/0012_remove_permissions_created_by_and_more.py @@ -0,0 +1,37 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0011_permissions_created_by_permissions_modified_by_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='permissions', + name='created_by', + ), + migrations.RemoveField( + model_name='permissions', + name='modified_by', + ), + migrations.RemoveField( + model_name='role', + name='created_by', + ), + migrations.RemoveField( + model_name='role', + name='modified_by', + ), + migrations.RemoveField( + model_name='userrelations', + name='created_by', + ), + migrations.RemoveField( + model_name='userrelations', + name='modified_by', + ), + ] diff --git a/apps/authorization/migrations/0013_permissions_created_by_permissions_modified_by_and_more.py b/apps/authorization/migrations/0013_permissions_created_by_permissions_modified_by_and_more.py new file mode 100644 index 0000000..28ac1bf --- /dev/null +++ b/apps/authorization/migrations/0013_permissions_created_by_permissions_modified_by_and_more.py @@ -0,0 +1,46 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('authorization', '0012_remove_permissions_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='permissions', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='permissions', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='role', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='role', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='userrelations', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='userrelations', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/authorization/migrations/0014_permissions_creator_info_permissions_modifier_info_and_more.py b/apps/authorization/migrations/0014_permissions_creator_info_permissions_modifier_info_and_more.py new file mode 100644 index 0000000..f3806cb --- /dev/null +++ b/apps/authorization/migrations/0014_permissions_creator_info_permissions_modifier_info_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authorization', '0013_permissions_created_by_permissions_modified_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='permissions', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='permissions', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='role', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='role', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='userrelations', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='userrelations', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/authorization/models.py b/apps/authorization/models.py index 14d0fb4..d55f16e 100644 --- a/apps/authorization/models.py +++ b/apps/authorization/models.py @@ -17,8 +17,14 @@ class Permissions(BaseModel): class Role(BaseModel): - role_name = models.CharField(max_length=50) + role_name = models.CharField(max_length=50, unique=True) description = models.TextField(max_length=500) + type = models.ForeignKey( + auth_models.OrganizationType, + on_delete=models.CASCADE, + related_name="organization_role_type", + null=True + ) permissions = models.ManyToManyField(Permissions) def __str__(self): @@ -28,26 +34,28 @@ class Role(BaseModel): super(Role, self).save(*args, **kwargs) -class OrganizationRole(BaseModel): +class UserRelations(BaseModel): user = models.ForeignKey( auth_models.User, on_delete=models.CASCADE, - related_name='organization_user', + related_name='user_relation', null=True ) organization = models.ForeignKey( auth_models.Organization, on_delete=models.CASCADE, - related_name='organization' + related_name='user_organization' ) role = models.ForeignKey( Role, on_delete=models.CASCADE, - related_name='organization_role' + related_name='user_role', + null=True ) + permissions = models.ManyToManyField(Permissions) def __str__(self): return f'{self.organization.name}-{self.user.username}' def save(self, *args, **kwargs): - super(OrganizationRole, self).save(*args, **kwargs) + super(UserRelations, self).save(*args, **kwargs) diff --git a/apps/authorization/tests/test_common_services.py b/apps/authorization/tests/test_common_services.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/authorization/urls.py b/apps/authorization/urls.py new file mode 100644 index 0000000..dfec62e --- /dev/null +++ b/apps/authorization/urls.py @@ -0,0 +1,5 @@ +from django.urls import path, include + +urlpatterns = [ + path('api/v1/', include('apps.authorization.api.v1.urls')) +] diff --git a/apps/core/middlewares.py b/apps/core/middlewares.py new file mode 100644 index 0000000..38165a0 --- /dev/null +++ b/apps/core/middlewares.py @@ -0,0 +1,59 @@ +from django.db import connection +from django.conf import settings +import os + + +def terminal_width(): + """ + Function to compute the terminal width. + WARNING: This is not my code, but I've been using it forever and + I don't remember where it came from. + """ + width = 0 + try: + import struct, fcntl, termios + s = struct.pack('HHHH', 0, 0, 0, 0) + x = fcntl.ioctl(1, termios.TIOCGWINSZ, s) + width = struct.unpack('HHHH', x)[1] + except: + pass + if width <= 0: + try: + width = int(os.environ['COLUMNS']) + except: + pass + if width <= 0: + width = 80 + return width + + +class SqlPrintingMiddleware(object): + """ + Middleware which prints out a list of all SQL queries done + for each view that is processed. This is only useful for debugging. + """ + + def __init__(self, get_response): + # print("heloo") + self.get_response = get_response + + def __call__(self, request): + return self.process_response(request=request, response=self.get_response(request)) + + def process_response(self, request, response): # noqa + indentation = 2 + if len(connection.queries) > 0 and settings.DEBUG: + width = terminal_width() + total_time = 0.0 + for query in connection.queries: + nice_sql = query['sql'].replace('"', '').replace(',', ', ') + sql = "\033[1;31m[%s]\033[0m %s" % (query['time'], nice_sql) + total_time = total_time + float(query['time']) + while len(sql) > width - indentation: + print("%s%s" % (" " * indentation, sql[:width - indentation])) + sql = sql[width - indentation:] + print("%s%s\n" % (" " * indentation, sql)) + replace_tuple = (" " * indentation, str(total_time)) + print("%s\033[1;32m[TOTAL TIME: %s seconds]\033[0m" % replace_tuple) + print(response) + return response diff --git a/apps/core/migrations/0002_remove_mobiletest_created_by_and_more.py b/apps/core/migrations/0002_remove_mobiletest_created_by_and_more.py new file mode 100644 index 0000000..8f16211 --- /dev/null +++ b/apps/core/migrations/0002_remove_mobiletest_created_by_and_more.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0001_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='mobiletest', + name='created_by', + ), + migrations.RemoveField( + model_name='mobiletest', + name='modified_by', + ), + ] diff --git a/apps/core/migrations/0003_mobiletest_created_by_mobiletest_modified_by.py b/apps/core/migrations/0003_mobiletest_created_by_mobiletest_modified_by.py new file mode 100644 index 0000000..23ff32b --- /dev/null +++ b/apps/core/migrations/0003_mobiletest_created_by_mobiletest_modified_by.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0002_remove_mobiletest_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='mobiletest', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='mobiletest', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/core/migrations/0004_remove_mobiletest_created_by_and_more.py b/apps/core/migrations/0004_remove_mobiletest_created_by_and_more.py new file mode 100644 index 0000000..898465b --- /dev/null +++ b/apps/core/migrations/0004_remove_mobiletest_created_by_and_more.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0003_mobiletest_created_by_mobiletest_modified_by'), + ] + + operations = [ + migrations.RemoveField( + model_name='mobiletest', + name='created_by', + ), + migrations.RemoveField( + model_name='mobiletest', + name='modified_by', + ), + ] diff --git a/apps/core/migrations/0005_mobiletest_created_by_mobiletest_modified_by.py b/apps/core/migrations/0005_mobiletest_created_by_mobiletest_modified_by.py new file mode 100644 index 0000000..031c4e8 --- /dev/null +++ b/apps/core/migrations/0005_mobiletest_created_by_mobiletest_modified_by.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('core', '0004_remove_mobiletest_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='mobiletest', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='mobiletest', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/core/migrations/0006_mobiletest_creator_info_mobiletest_modifier_info.py b/apps/core/migrations/0006_mobiletest_creator_info_mobiletest_modifier_info.py new file mode 100644 index 0000000..0e0c78c --- /dev/null +++ b/apps/core/migrations/0006_mobiletest_creator_info_mobiletest_modifier_info.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0005_mobiletest_created_by_mobiletest_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='mobiletest', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='mobiletest', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/core/models.py b/apps/core/models.py index e6cf610..99f188e 100644 --- a/apps/core/models.py +++ b/apps/core/models.py @@ -1,5 +1,6 @@ from django.db import models from django.conf import settings +from crum import get_current_user class BaseModel(models.Model): @@ -7,8 +8,8 @@ class BaseModel(models.Model): modify_date = models.DateTimeField(auto_now=True) created_by = models.ForeignKey( settings.AUTH_USER_MODEL, - related_name="%(class)s_createdby", on_delete=models.CASCADE, + related_name="%(class)s_createddby", null=True, blank=True, ) @@ -19,11 +20,22 @@ class BaseModel(models.Model): null=True, blank=True, ) + creator_info = models.CharField(max_length=100, null=True) + modifier_info = models.CharField(max_length=100, null=True) trash = models.BooleanField(default=False) class Meta: abstract = True + def save(self, *args, **kwargs): + user = get_current_user() # get user object + self.modified_by = user + if not self.creator_info: + self.created_by = user + self.creator_info = user.first_name + ' ' + user.last_name + '-' + user.national_code + self.modifier_info = user.first_name + ' ' + user.last_name + '-' + user.national_code + super(BaseModel, self).save(*args, **kwargs) + class MobileTest(BaseModel): latitude = models.DecimalField(max_digits=22, decimal_places=16) diff --git a/apps/core/permissions.py b/apps/core/permissions.py new file mode 100644 index 0000000..d559d67 --- /dev/null +++ b/apps/core/permissions.py @@ -0,0 +1,48 @@ +from rest_framework.permissions import BasePermissionMetaclass +from apps.authorization import models as authorize_models +import itertools +import typing + + +class BasePermission(metaclass=BasePermissionMetaclass): + """ + A base class from which all permission classes should inherit. + """ + + def get_user_permissions(self, request, view) -> typing.Dict: # noqa + """ + get permissions by role and user specified permissions + combined permissions and returns a list + """ + organization_type = [] + permissions_info = {} + relations = request.user.user_relation.select_related() + for relation in relations: + role_permissions = list(itertools.chain(*[ + list(item.values()) for item in + list(relation.role.permissions.prefetch_related().values('name')) + ] + )) + user_permissions = list(itertools.chain(*[ + list(item.values()) for item in + list(relation.permissions.prefetch_related().values('name'))]) + ) + result = list(set(role_permissions + user_permissions)) + organization_type.append(relation.organization.type.key) + permissions_info['organization_type'] = organization_type + permissions_info['permissions'] = result + print(result, permissions_info) + return permissions_info + + def has_permission(self, request, view): # noqa + """ + Return `True` if permission is granted, `False` otherwise. + """ + + return True + + def has_object_permission(self, request, view, obj): # noqa + """ + Return `True` if permission is granted, `False` otherwise. + """ + return True diff --git a/apps/core/swagger.py b/apps/core/swagger.py new file mode 100644 index 0000000..cc4ade6 --- /dev/null +++ b/apps/core/swagger.py @@ -0,0 +1,16 @@ +from rest_framework import permissions +from drf_yasg.views import get_schema_view +from drf_yasg import openapi + +schema_view = get_schema_view( + openapi.Info( + title="RasadDam Api", + default_version='v1', + description="All Apis", + terms_of_service="https://www.google.com/policies/terms/", + contact=openapi.Contact(email="contact@myapi.local"), + license=openapi.License(name="BSD License"), + ), + public=True, + permission_classes=[permissions.BasePermission, permissions.IsAuthenticated] +) diff --git a/apps/herd/migrations/0002_herd_city_herd_owner_herd_province.py b/apps/herd/migrations/0002_herd_city_herd_owner_herd_province.py new file mode 100644 index 0000000..7f0386d --- /dev/null +++ b/apps/herd/migrations/0002_herd_city_herd_owner_herd_province.py @@ -0,0 +1,32 @@ +# Generated by Django 4.2.20 on 2025-05-13 06:31 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0010_organization_company_code_and_more'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('herd', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='herd', + name='city', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='herd_city', to='authentication.city'), + ), + migrations.AddField( + model_name='herd', + name='owner', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='herd', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='herd', + name='province', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='herd_province', to='authentication.province'), + ), + ] diff --git a/apps/herd/migrations/0003_remove_herd_created_by_remove_herd_modified_by.py b/apps/herd/migrations/0003_remove_herd_created_by_remove_herd_modified_by.py new file mode 100644 index 0000000..ca921bb --- /dev/null +++ b/apps/herd/migrations/0003_remove_herd_created_by_remove_herd_modified_by.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('herd', '0002_herd_city_herd_owner_herd_province'), + ] + + operations = [ + migrations.RemoveField( + model_name='herd', + name='created_by', + ), + migrations.RemoveField( + model_name='herd', + name='modified_by', + ), + ] diff --git a/apps/herd/migrations/0004_herd_created_by_herd_modified_by.py b/apps/herd/migrations/0004_herd_created_by_herd_modified_by.py new file mode 100644 index 0000000..6080259 --- /dev/null +++ b/apps/herd/migrations/0004_herd_created_by_herd_modified_by.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('herd', '0003_remove_herd_created_by_remove_herd_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='herd', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='herd', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/herd/migrations/0005_remove_herd_created_by_remove_herd_modified_by.py b/apps/herd/migrations/0005_remove_herd_created_by_remove_herd_modified_by.py new file mode 100644 index 0000000..3bafbfd --- /dev/null +++ b/apps/herd/migrations/0005_remove_herd_created_by_remove_herd_modified_by.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('herd', '0004_herd_created_by_herd_modified_by'), + ] + + operations = [ + migrations.RemoveField( + model_name='herd', + name='created_by', + ), + migrations.RemoveField( + model_name='herd', + name='modified_by', + ), + ] diff --git a/apps/herd/migrations/0006_herd_created_by_herd_modified_by.py b/apps/herd/migrations/0006_herd_created_by_herd_modified_by.py new file mode 100644 index 0000000..3d495ed --- /dev/null +++ b/apps/herd/migrations/0006_herd_created_by_herd_modified_by.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('herd', '0005_remove_herd_created_by_remove_herd_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='herd', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='herd', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/herd/migrations/0007_herd_creator_info_herd_modifier_info.py b/apps/herd/migrations/0007_herd_creator_info_herd_modifier_info.py new file mode 100644 index 0000000..fc5a44d --- /dev/null +++ b/apps/herd/migrations/0007_herd_creator_info_herd_modifier_info.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('herd', '0006_herd_created_by_herd_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='herd', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='herd', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/herd/migrations/0008_herd_cooperative_herd_heavy_livestock_number_and_more.py b/apps/herd/migrations/0008_herd_cooperative_herd_heavy_livestock_number_and_more.py new file mode 100644 index 0000000..5b1bffa --- /dev/null +++ b/apps/herd/migrations/0008_herd_cooperative_herd_heavy_livestock_number_and_more.py @@ -0,0 +1,40 @@ +# Generated by Django 5.0 on 2025-05-19 08:14 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0017_bankaccountinformation_creator_info_and_more'), + ('herd', '0007_herd_creator_info_herd_modifier_info'), + ] + + operations = [ + migrations.AddField( + model_name='herd', + name='cooperative', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='herd', to='authentication.organization'), + ), + migrations.AddField( + model_name='herd', + name='heavy_livestock_number', + field=models.BigIntegerField(default=0), + ), + migrations.AddField( + model_name='herd', + name='heavy_livestock_quota', + field=models.BigIntegerField(default=0), + ), + migrations.AddField( + model_name='herd', + name='light_livestock_number', + field=models.BigIntegerField(default=0), + ), + migrations.AddField( + model_name='herd', + name='light_livestock_quota', + field=models.BigIntegerField(default=0), + ), + ] diff --git a/apps/herd/models.py b/apps/herd/models.py index 05978d8..8073574 100644 --- a/apps/herd/models.py +++ b/apps/herd/models.py @@ -4,9 +4,37 @@ from django.db import models class Herd(BaseModel): + owner = models.ForeignKey( + auth_models.User, + on_delete=models.CASCADE, + related_name='herd', + null=True + ) + cooperative = models.ForeignKey( + auth_models.Organization, + on_delete=models.CASCADE, + related_name='herd', + null=True + ) name = models.CharField(max_length=50) photo = models.CharField(max_length=50, null=True) code = models.CharField(max_length=20) + heavy_livestock_number = models.BigIntegerField(default=0) + light_livestock_number = models.BigIntegerField(default=0) + heavy_livestock_quota = models.BigIntegerField(default=0) + light_livestock_quota = models.BigIntegerField(default=0) + province = models.ForeignKey( + auth_models.Province, + on_delete=models.CASCADE, + related_name='herd_province', + null=True + ) + city = models.ForeignKey( + auth_models.City, + on_delete=models.CASCADE, + related_name='herd_city', + null=True + ) postal = models.CharField( max_length=10, help_text="herd postal code", null=True diff --git a/apps/herd/services.py b/apps/herd/services.py index 93888af..a572473 100644 --- a/apps/herd/services.py +++ b/apps/herd/services.py @@ -1 +1,3 @@ # Your services go here + + diff --git a/apps/herd/urls.py b/apps/herd/urls.py index 0865d84..f18f421 100644 --- a/apps/herd/urls.py +++ b/apps/herd/urls.py @@ -1 +1,8 @@ # Your urls go here + +from django.urls import path, include + + +urlpatterns = [ + path('web/', include('apps.herd.web.api.v1.urls')) +] diff --git a/apps/herd/web/api/v1/api.py b/apps/herd/web/api/v1/api.py new file mode 100644 index 0000000..2993af1 --- /dev/null +++ b/apps/herd/web/api/v1/api.py @@ -0,0 +1,87 @@ +from apps.herd.web.api.v1.serializers import HerdSerializer +from apps.authentication.api.v1.api import UserViewSet +from rest_framework.exceptions import APIException +from rest_framework.response import Response +from rest_framework.decorators import action +from common.tools import CustomOperations +from rest_framework import viewsets +from apps.herd.models import Herd +from django.db import transaction +from rest_framework import status + + +class HerdViewSet(viewsets.ModelViewSet): + """ Herd ViewSet """ + queryset = Herd.objects.all() + serializer_class = HerdSerializer + + @transaction.atomic + def create(self, request, *args, **kwargs): + """ create herd with user """ + if 'user' in request.data.keys(): + # create user if owner of herd is not exist + user = CustomOperations().custom_create( + request=request, + view=UserViewSet(), + data_key='user' + ) + owner = user['id'] + request.data.update({'owner': owner}) + + serializer = self.serializer_class(data=request.data) + if serializer.is_valid(): + serializer.save() + return Response(serializer.data, status=status.HTTP_201_CREATED) + else: + return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN) + + @action( + methods=['get'], + detail=False, + url_name='my_herds', + url_path='my_herds', + name='my_herds' + ) + @transaction.atomic + def my_herds(self, request): + """ get current user herds """ + serializer = self.serializer_class(self.queryset.filter(owner=request.user.id), many=True) + if serializer.data: + return Response(serializer.data, status=status.HTTP_200_OK) + else: + return Response(status=status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_path='trash', + url_name='trash', + name='trash' + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent herd to trash """ + try: + herd = self.queryset.get(id=pk) + herd.trash = True + herd.save() + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_path='delete', + url_name='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ full delete of herd """ + try: + herd = self.queryset.get(id=pk) + herd.delete() + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) diff --git a/apps/herd/web/api/v1/serializers.py b/apps/herd/web/api/v1/serializers.py index e69de29..8a3636c 100644 --- a/apps/herd/web/api/v1/serializers.py +++ b/apps/herd/web/api/v1/serializers.py @@ -0,0 +1,27 @@ +from apps.authentication.api.v1.serializers.serializer import ( + UserSerializer, + OrganizationSerializer, + ProvinceSerializer, + CitySerializer +) +from rest_framework import serializers +from apps.herd.models import Herd + + +class HerdSerializer(serializers.ModelSerializer): + """ Herd Serializer """ + class Meta: + model = Herd + fields = '__all__' + + def to_representation(self, instance): + """ Customize serializer output """ + representation = super().to_representation(instance) + if isinstance(instance, Herd): + representation['owner'] = UserSerializer(instance.owner).data + representation['cooperative'] = OrganizationSerializer(instance.cooperative).data + representation['province'] = ProvinceSerializer(instance.province).data + representation['city'] = CitySerializer(instance.city).data + representation['contractor'] = OrganizationSerializer(instance.contractor).data + + return representation diff --git a/apps/herd/web/api/v1/urls.py b/apps/herd/web/api/v1/urls.py index e69de29..d757f7c 100644 --- a/apps/herd/web/api/v1/urls.py +++ b/apps/herd/web/api/v1/urls.py @@ -0,0 +1,10 @@ +from django.urls import path, include +from rest_framework import routers +from .api import HerdViewSet + +router = routers.DefaultRouter() +router.register('herd', HerdViewSet, basename='herd') + +urlpatterns = [ + path('api/v1/', include(router.urls)) +] \ No newline at end of file diff --git a/apps/livestock/migrations/0003_remove_livestock_type_livestock_age_by_day_and_more.py b/apps/livestock/migrations/0003_remove_livestock_type_livestock_age_by_day_and_more.py new file mode 100644 index 0000000..519e207 --- /dev/null +++ b/apps/livestock/migrations/0003_remove_livestock_type_livestock_age_by_day_and_more.py @@ -0,0 +1,32 @@ +# Generated by Django 4.2.20 on 2025-05-12 11:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0002_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='livestock', + name='type', + ), + migrations.AddField( + model_name='livestock', + name='age_by_day', + field=models.IntegerField(default=0), + ), + migrations.AddField( + model_name='livestock', + name='age_by_month', + field=models.IntegerField(default=0), + ), + migrations.AddField( + model_name='livestock', + name='age_by_year', + field=models.IntegerField(default=0), + ), + ] diff --git a/apps/livestock/migrations/0004_remove_livestock_species_livestock_weight_type_and_more.py b/apps/livestock/migrations/0004_remove_livestock_species_livestock_weight_type_and_more.py new file mode 100644 index 0000000..3c7ae7d --- /dev/null +++ b/apps/livestock/migrations/0004_remove_livestock_species_livestock_weight_type_and_more.py @@ -0,0 +1,70 @@ +# Generated by Django 4.2.20 on 2025-05-12 12:17 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('livestock', '0003_remove_livestock_type_livestock_age_by_day_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='livestock', + name='species', + ), + migrations.AddField( + model_name='livestock', + name='weight_type', + field=models.CharField(choices=[('L', 'Light'), ('H', 'Heavy')], default='L', max_length=1), + ), + migrations.CreateModel( + name='LiveStockUseType', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('name', models.CharField(max_length=50)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + migrations.CreateModel( + name='LiveStockType', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('name', models.CharField(max_length=50)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + migrations.CreateModel( + name='LiveStockSpecies', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('trash', models.BooleanField(default=False)), + ('name', models.CharField(max_length=50)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/apps/livestock/migrations/0005_livestock_species_livestock_type_livestock_use_type.py b/apps/livestock/migrations/0005_livestock_species_livestock_type_livestock_use_type.py new file mode 100644 index 0000000..0106d0d --- /dev/null +++ b/apps/livestock/migrations/0005_livestock_species_livestock_type_livestock_use_type.py @@ -0,0 +1,29 @@ +# Generated by Django 4.2.20 on 2025-05-12 12:28 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0004_remove_livestock_species_livestock_weight_type_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='livestock', + name='species', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='livestock_species', to='livestock.livestockspecies'), + ), + migrations.AddField( + model_name='livestock', + name='type', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='livestock_type', to='livestock.livestocktype'), + ), + migrations.AddField( + model_name='livestock', + name='use_type', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='livestock_use_type', to='livestock.livestockusetype'), + ), + ] diff --git a/apps/livestock/migrations/0006_remove_livestock_created_by_and_more.py b/apps/livestock/migrations/0006_remove_livestock_created_by_and_more.py new file mode 100644 index 0000000..0992b89 --- /dev/null +++ b/apps/livestock/migrations/0006_remove_livestock_created_by_and_more.py @@ -0,0 +1,45 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0005_livestock_species_livestock_type_livestock_use_type'), + ] + + operations = [ + migrations.RemoveField( + model_name='livestock', + name='created_by', + ), + migrations.RemoveField( + model_name='livestock', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestockspecies', + name='created_by', + ), + migrations.RemoveField( + model_name='livestockspecies', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestocktype', + name='created_by', + ), + migrations.RemoveField( + model_name='livestocktype', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestockusetype', + name='created_by', + ), + migrations.RemoveField( + model_name='livestockusetype', + name='modified_by', + ), + ] diff --git a/apps/livestock/migrations/0007_livestock_created_by_livestock_modified_by_and_more.py b/apps/livestock/migrations/0007_livestock_created_by_livestock_modified_by_and_more.py new file mode 100644 index 0000000..f9c5582 --- /dev/null +++ b/apps/livestock/migrations/0007_livestock_created_by_livestock_modified_by_and_more.py @@ -0,0 +1,53 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0006_remove_livestock_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='livestock', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestock', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestockspecies', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestockspecies', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestocktype', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestocktype', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestockusetype', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='livestockusetype', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/livestock/migrations/0008_remove_livestock_created_by_and_more.py b/apps/livestock/migrations/0008_remove_livestock_created_by_and_more.py new file mode 100644 index 0000000..ef0a97f --- /dev/null +++ b/apps/livestock/migrations/0008_remove_livestock_created_by_and_more.py @@ -0,0 +1,45 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0007_livestock_created_by_livestock_modified_by_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='livestock', + name='created_by', + ), + migrations.RemoveField( + model_name='livestock', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestockspecies', + name='created_by', + ), + migrations.RemoveField( + model_name='livestockspecies', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestocktype', + name='created_by', + ), + migrations.RemoveField( + model_name='livestocktype', + name='modified_by', + ), + migrations.RemoveField( + model_name='livestockusetype', + name='created_by', + ), + migrations.RemoveField( + model_name='livestockusetype', + name='modified_by', + ), + ] diff --git a/apps/livestock/migrations/0009_livestock_created_by_livestock_modified_by_and_more.py b/apps/livestock/migrations/0009_livestock_created_by_livestock_modified_by_and_more.py new file mode 100644 index 0000000..ebde739 --- /dev/null +++ b/apps/livestock/migrations/0009_livestock_created_by_livestock_modified_by_and_more.py @@ -0,0 +1,56 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('livestock', '0008_remove_livestock_created_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='livestock', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestock', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestockspecies', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestockspecies', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestocktype', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestocktype', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestockusetype', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='livestockusetype', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/livestock/migrations/0010_livestock_creator_info_livestock_modifier_info_and_more.py b/apps/livestock/migrations/0010_livestock_creator_info_livestock_modifier_info_and_more.py new file mode 100644 index 0000000..35c3165 --- /dev/null +++ b/apps/livestock/migrations/0010_livestock_creator_info_livestock_modifier_info_and_more.py @@ -0,0 +1,53 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0009_livestock_created_by_livestock_modified_by_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='livestock', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestock', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestockspecies', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestockspecies', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestocktype', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestocktype', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestockusetype', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='livestockusetype', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/livestock/migrations/0011_remove_livestock_age_by_day_and_more.py b/apps/livestock/migrations/0011_remove_livestock_age_by_day_and_more.py new file mode 100644 index 0000000..ad5a168 --- /dev/null +++ b/apps/livestock/migrations/0011_remove_livestock_age_by_day_and_more.py @@ -0,0 +1,25 @@ +# Generated by Django 5.0 on 2025-05-24 09:12 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('livestock', '0010_livestock_creator_info_livestock_modifier_info_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='livestock', + name='age_by_day', + ), + migrations.RemoveField( + model_name='livestock', + name='age_by_month', + ), + migrations.RemoveField( + model_name='livestock', + name='age_by_year', + ), + ] diff --git a/apps/livestock/models.py b/apps/livestock/models.py index 21e8a88..9b16286 100644 --- a/apps/livestock/models.py +++ b/apps/livestock/models.py @@ -4,6 +4,39 @@ from apps.tag import models as tag_models from django.db import models +class LiveStockSpecies(BaseModel): # noqa + """ species of live stocks like Kurdi, Luri, etc """ # noqa + name = models.CharField(max_length=50) + + def __str__(self): + return f'{self.name}' + + def save(self, *args, **kwargs): + super(LiveStockSpecies, self).save(*args, **kwargs) + + +class LiveStockType(BaseModel): # noqa + """ types like sheep, cow, camel, etc """ + name = models.CharField(max_length=50) + + def __str__(self): + return f'{self.name}' + + def save(self, *args, **kwargs): + super(LiveStockType, self).save(*args, **kwargs) + + +class LiveStockUseType(BaseModel): + """ use types like Beef, Milky, etc """ + name = models.CharField(max_length=50) + + def __str__(self): + return f'{self.name}' + + def save(self, *args, **kwargs): + super(LiveStockUseType, self).save(*args, **kwargs) + + class LiveStock(BaseModel): herd = models.ForeignKey( herd_models.Herd, @@ -17,15 +50,29 @@ class LiveStock(BaseModel): related_name='livestock_tag', null=True ) - types = ( + type = models.ForeignKey( + LiveStockType, + on_delete=models.CASCADE, + related_name='livestock_type', + null=True + ) + use_type = models.ForeignKey( + LiveStockUseType, + on_delete=models.CASCADE, + related_name='livestock_use_type', + null=True + ) + weight_types = ( ('L', 'Light'), ('H', 'Heavy') ) - type = models.CharField(max_length=1, choices=types) - species_type = ( - () + weight_type = models.CharField(max_length=1, choices=weight_types, default='L') + species = models.ForeignKey( + LiveStockSpecies, + on_delete=models.CASCADE, + related_name='livestock_species', + null=True, ) - species = models.CharField(max_length=1, choices=species_type) birthdate = models.DateTimeField(null=True) gender_type = ( (1, 'male'), @@ -34,7 +81,7 @@ class LiveStock(BaseModel): gender = models.IntegerField(choices=gender_type, default=1) def __str__(self): - return f'{self.get_species_display()}-{self.get_type_display()}' + return f'{self.type.name}-{self.species.name}' def save(self, *args, **kwargs): super(LiveStock, self).save(*args, **kwargs) diff --git a/apps/livestock/permissions.py b/apps/livestock/permissions.py index 25edb52..7258217 100644 --- a/apps/livestock/permissions.py +++ b/apps/livestock/permissions.py @@ -1,25 +1,145 @@ -from rest_framework import permissions +from apps.core import permissions -# example Code -class AuthorAllStaffAllButEditOrReadOnly(permissions.BasePermission): - edit_methods = ("PUT", "PATCH") +class LiveStockCreatePermission(permissions.BasePermission): + """ permission to create livestock """ def has_permission(self, request, view): - if request.user.is_authenticated: + user_level_info = self.get_user_permissions(request, view) + if 'live_stock_create' in user_level_info['permissions']: return True - def has_object_permission(self, request, view, obj): - if request.user.is_superuser: + +class LiveStockUpdatePermission(permissions.BasePermission): + """ permission to update livestock """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'live_stock_update' in user_level_info['permissions']: return True - if request.method in permissions.SAFE_METHODS: + +class LiveStockTrashPermission(permissions.BasePermission): + """ permission to trash livestock """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'live_stock_trash' in user_level_info['permissions']: return True - if obj.author == request.user: + +class LiveStockDeletePermission(permissions.BasePermission): + """ permission to Delete livestock """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'live_stock_delete' in user_level_info['permissions']: return True - if request.user.is_staff and request.method not in self.edit_methods: + +class StockTypeCreatePermission(permissions.BasePermission): + """ permission to create livestock type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_type_create' in user_level_info['permissions']: return True - return False + +class StockTypeUpdatePermission(permissions.BasePermission): + """ permission to update livestock type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_type_update' in user_level_info['permissions']: + return True + + +class StockTypeTrashPermission(permissions.BasePermission): + """ permission to trash livestock type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_type_trash' in user_level_info['permissions']: + return True + + +class StockTypeDeletePermission(permissions.BasePermission): + """ permission to delete livestock type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_type_delete' in user_level_info['permissions']: + return True + + +class StockUseTypeCreatePermission(permissions.BasePermission): + """ permission to create livestock use type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_use_type_create' in user_level_info['permissions']: + return True + + +class StockUseTypeUpdatePermission(permissions.BasePermission): + """ permission to update livestock use type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_use_type_update' in user_level_info['permissions']: + return True + + +class StockUseTypeTrashPermission(permissions.BasePermission): + """ permission to trash livestock use type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_use_type_trash' in user_level_info['permissions']: + return True + + +class StockUseTypeDeletePermission(permissions.BasePermission): + """ permission to delete livestock use type """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_use_type_delete' in user_level_info['permissions']: + return True + + +class StockSpeciesCreatePermission(permissions.BasePermission): + """ permission to create livestock species """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_species_create' in user_level_info['permissions']: + return True + + +class StockSpeciesUpdatePermission(permissions.BasePermission): + """ permission to update livestock species """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_species_update' in user_level_info['permissions']: + return True + + +class StockSpeciesTrashPermission(permissions.BasePermission): + """ permission to trash livestock species """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_species_trash' in user_level_info['permissions']: + return True + + +class StockSpeciesDeletePermission(permissions.BasePermission): + """ permission to delete livestock species """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'stock_species_delete' in user_level_info['permissions']: + return True diff --git a/apps/livestock/urls.py b/apps/livestock/urls.py index 0865d84..3b365c1 100644 --- a/apps/livestock/urls.py +++ b/apps/livestock/urls.py @@ -1 +1,8 @@ -# Your urls go here +from django.urls import path, include + + +urlpatterns = [ + path('web/api/', include('apps.livestock.web.api.v1.urls')), + # path('app/api/', include('apps.livestock.mobile.api.v1.urls')), + # path('pos/api/', include('apps.livestock.pos.api.v1.urls')) +] \ No newline at end of file diff --git a/apps/livestock/web/api/v1/api.py b/apps/livestock/web/api/v1/api.py new file mode 100644 index 0000000..ddccf7b --- /dev/null +++ b/apps/livestock/web/api/v1/api.py @@ -0,0 +1,166 @@ +from rest_framework import viewsets +from apps.livestock import models as livestock_models +from . import serializers as livestock_serializers +from rest_framework.exceptions import APIException +from rest_framework.decorators import action +from rest_framework.response import Response +from django.db import transaction +from rest_framework import status + + +def trash(queryset, pk): + """ sent object to trash """ + obj = queryset.get(id=pk) + obj.trash = True + obj.save() + + +def delete(queryset, pk): + """ full delete object """ + obj = queryset.get(id=pk) + obj.delete() + + +class LiveStockViewSet(viewsets.ModelViewSet): + queryset = livestock_models.LiveStock.objects.all() + serializer_class = livestock_serializers.LiveStockSerializer + + @action( + methods=['put'], + detail=True, + url_path='trash', + url_name='trash', + name='trash', + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent livestock to trash """ + try: + trash(self.queryset, pk) + except APIException as e: + return Response(e, status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_name='delete', + url_path='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ Full delete of livestock object """ + try: + delete(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) + + +class LiveStockTypeViewSet(viewsets.ModelViewSet): + queryset = livestock_models.LiveStockType.objects.all() + serializer_class = livestock_serializers.LiveStockTypeSerializer + + @action( + methods=['put'], + detail=True, + url_path='trash', + url_name='trash', + name='trash', + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent livestock type to trash """ + try: + trash(self.queryset, pk) + except APIException as e: + return Response(e, status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_name='delete', + url_path='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ Full delete of livestock type object """ + try: + delete(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) + + +class LiveStockUseTypeViewSet(viewsets.ModelViewSet): + queryset = livestock_models.LiveStockUseType.objects.all() + serializer_class = livestock_serializers.LiveStockUseTypeSerializer + + @action( + methods=['put'], + detail=True, + url_path='trash', + url_name='trash', + name='trash', + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent livestock use type to trash """ + try: + trash(self.queryset, pk) + except APIException as e: + return Response(e, status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_name='delete', + url_path='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ Full delete of livestock use type object """ + try: + delete(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) + + +class LiveStockSpeciesViewSet(viewsets.ModelViewSet): + queryset = livestock_models.LiveStockSpecies.objects.all() + serializer_class = livestock_serializers.LiveStockSpeciesSerializer + + @action( + methods=['put'], + detail=True, + url_path='trash', + url_name='trash', + name='trash', + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent species to trash """ + try: + trash(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response + + @action( + methods=['post'], + detail=True, + url_name='delete', + url_path='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ Full delete of species object """ + try: + delete(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) diff --git a/apps/livestock/web/api/v1/serializers.py b/apps/livestock/web/api/v1/serializers.py index e69de29..0e718d9 100644 --- a/apps/livestock/web/api/v1/serializers.py +++ b/apps/livestock/web/api/v1/serializers.py @@ -0,0 +1,62 @@ +from rest_framework import serializers +from apps.livestock import models as livestock_models +from apps.herd.web.api.v1.serializers import HerdSerializer +from apps.tag.web.api.v1.serializers import TagSerializer + + +class LiveStockTypeSerializer(serializers.ModelSerializer): + class Meta: + model = livestock_models.LiveStockType + fields = [ + 'id', + 'name' + ] + + +class LiveStockUseTypeSerializer(serializers.ModelSerializer): + class Meta: + model = livestock_models.LiveStockUseType + fields = [ + 'id', + 'name' + ] + + +class LiveStockSpeciesSerializer(serializers.ModelSerializer): + class Meta: + model = livestock_models.LiveStockSpecies + fields = [ + 'id', + 'name' + ] + + +class LiveStockSerializer(serializers.ModelSerializer): + """ livestock serializer """ + + class Meta: + model = livestock_models.LiveStock + fields = [ + 'id', + 'herd', + 'tag', + 'type', + 'use_type', + 'weight_type', + 'species', + 'birthdate', + 'gender', + ] + depth = 1 + + def to_representation(self, instance): + """ Customize output of serializer """ + representation = super().to_representation(instance) + if isinstance(instance, livestock_models.LiveStock): + representation['herd'] = HerdSerializer(instance.herd).data + representation['tag'] = TagSerializer(instance.tag).data + representation['type'] = LiveStockTypeSerializer(instance.type).data + representation['use_type'] = LiveStockUseTypeSerializer(instance.use_type).data + representation['species'] = LiveStockSpeciesSerializer(instance.species).data + + return representation diff --git a/apps/livestock/web/api/v1/urls.py b/apps/livestock/web/api/v1/urls.py index e69de29..4e9107c 100644 --- a/apps/livestock/web/api/v1/urls.py +++ b/apps/livestock/web/api/v1/urls.py @@ -0,0 +1,18 @@ +from django.urls import path, include +from rest_framework.routers import DefaultRouter +from .api import ( + LiveStockViewSet, + LiveStockTypeViewSet, + LiveStockSpeciesViewSet, + LiveStockUseTypeViewSet +) + +router = DefaultRouter() +router.register(r'livestock', LiveStockViewSet, basename='livestock') +router.register(r'livestock_type', LiveStockTypeViewSet, basename='livestock_type') +router.register(r'livestock_use_type', LiveStockUseTypeViewSet, basename='livestock_use_type') +router.register(r'livestock_species', LiveStockSpeciesViewSet, basename='livestock_species') + +urlpatterns = [ + path('v1/', include(router.urls)) +] diff --git a/apps/log/__init__.py b/apps/log/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/log/admin.py b/apps/log/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/apps/log/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/apps/log/apps.py b/apps/log/apps.py new file mode 100644 index 0000000..3bfada8 --- /dev/null +++ b/apps/log/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class LogConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'apps.log' diff --git a/apps/log/middlewares.py b/apps/log/middlewares.py new file mode 100644 index 0000000..d468fd4 --- /dev/null +++ b/apps/log/middlewares.py @@ -0,0 +1,56 @@ +import time +from .models import Log +from tinydb import TinyDB, Query +from django.core import serializers +from datetime import datetime + + +class SaveLog: + def __init__(self, get_response): + self.get_response = get_response + + # Filter to log all request to url's that start with any of the strings below. + # With example below: + # /example/test/ will be logged. + # /other/ will not be logged. + self.prefixs = [ + '/example' + ] + + def __call__(self, request): + _t = time.time() # Calculated execution time. + response = self.get_response(request) # Get response from view function. + _t = int((time.time() - _t) * 1000) + + # If the url does not start with on of the prefixes above, then return response and dont save log. + # (Remove these two lines below to log everything) + # if not list(filter(request.get_full_path().startswith, self.prefixs)): + # return response + + # create data for log db + db_data = { + 'endpoint': request.get_full_path(), + 'response_code': response.status_code, + 'method': request.method, + 'remote_address': self.get_client_ip(request), + 'exec_time': _t, + 'body_response': response.content.decode('utf-8'), + 'body_request': request.POST, + 'client_ip': self.get_client_ip(request), + 'browser_info': request.META['HTTP_USER_AGENT'], + 'log_created_at': str(datetime.now()) + } + if request.user.is_authenticated: + db_data.update({'user': serializers.serialize('json', [request.user, ])}) + db = TinyDB(f'logs/log.json') + db.insert(db_data) + return response + + # get clients ip address + def get_client_ip(self, request): + x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') + if x_forwarded_for: + _ip = x_forwarded_for.split(',')[0] + else: + _ip = request.META.get('REMOTE_ADDR') + return _ip diff --git a/apps/log/migrations/0001_initial.py b/apps/log/migrations/0001_initial.py new file mode 100644 index 0000000..2647020 --- /dev/null +++ b/apps/log/migrations/0001_initial.py @@ -0,0 +1,21 @@ +# Generated by Django 5.0 on 2025-05-17 08:08 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Log', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('test', models.CharField(max_length=50, null=True)), + ], + ), + ] diff --git a/apps/log/migrations/0002_delete_log.py b/apps/log/migrations/0002_delete_log.py new file mode 100644 index 0000000..6f62715 --- /dev/null +++ b/apps/log/migrations/0002_delete_log.py @@ -0,0 +1,16 @@ +# Generated by Django 4.2.21 on 2025-05-17 09:03 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('log', '0001_initial'), + ] + + operations = [ + migrations.DeleteModel( + name='Log', + ), + ] diff --git a/apps/log/migrations/0003_initial.py b/apps/log/migrations/0003_initial.py new file mode 100644 index 0000000..77d38c2 --- /dev/null +++ b/apps/log/migrations/0003_initial.py @@ -0,0 +1,35 @@ +# Generated by Django 4.2.21 on 2025-05-17 10:09 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('log', '0002_delete_log'), + ] + + operations = [ + migrations.CreateModel( + name='Req', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('create_date', models.DateTimeField(auto_now_add=True)), + ('modify_date', models.DateTimeField(auto_now=True)), + ('creator_info', models.CharField(max_length=100, null=True)), + ('modifier_info', models.CharField(max_length=100, null=True)), + ('trash', models.BooleanField(default=False)), + ('title', models.CharField(max_length=12)), + ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL)), + ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)), + ], + options={ + 'abstract': False, + }, + ), + ] diff --git a/apps/log/migrations/0004_delete_req.py b/apps/log/migrations/0004_delete_req.py new file mode 100644 index 0000000..fdcfd97 --- /dev/null +++ b/apps/log/migrations/0004_delete_req.py @@ -0,0 +1,16 @@ +# Generated by Django 4.2.21 on 2025-05-17 11:59 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('log', '0003_initial'), + ] + + operations = [ + migrations.DeleteModel( + name='Req', + ), + ] diff --git a/apps/log/migrations/__init__.py b/apps/log/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/log/models.py b/apps/log/models.py new file mode 100644 index 0000000..40008e3 --- /dev/null +++ b/apps/log/models.py @@ -0,0 +1,16 @@ +from django.db import models +from apps.core.models import BaseModel +from mongoengine import Document, fields +# Create your models here. + + +class Log(Document): + endpoint = fields.StringField(max_length=100, null=True) # The url the user requested + user = fields.StringField(max_length=200, null=True) + response_code = fields.IntField(default=0) # Response status code + method = fields.StringField(max_length=10, null=True) # Request method + remote_address = fields.StringField(max_length=20, null=True) # IP address of user + exec_time = fields.IntField(null=True) # Time taken to create the response + date = fields.DateTimeField(auto_now=True) # Date and time of request + body_response = fields.StringField(null=True) # Response data + body_request = fields.StringField(max_length=1000, null=True) # Request data diff --git a/apps/log/tests.py b/apps/log/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/apps/log/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/apps/authorization/views.py b/apps/log/views.py similarity index 57% rename from apps/authorization/views.py rename to apps/log/views.py index 91ea44a..20e3885 100644 --- a/apps/authorization/views.py +++ b/apps/log/views.py @@ -1,3 +1,2 @@ from django.shortcuts import render - -# Create your views here. +from .models import Log diff --git a/apps/search/api/__init__.py b/apps/search/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v1/__init__.py b/apps/search/api/v1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v1/api.py b/apps/search/api/v1/api.py new file mode 100644 index 0000000..58032bb --- /dev/null +++ b/apps/search/api/v1/api.py @@ -0,0 +1,61 @@ +from .serializers import UserRelationDocumentSerializer +from django_elasticsearch_dsl_drf.viewsets import DocumentViewSet +from rest_framework.pagination import LimitOffsetPagination +from apps.search.document.user_document import UserRelationDocument +from django.http.response import HttpResponse +from rest_framework.response import Response +from apps.authentication.models import User +from rest_framework.views import APIView +from elasticsearch_dsl.query import Q +import abc + + +class PaginatedElasticSearchApiView(APIView, LimitOffsetPagination): + """Base ApiView Class for elasticsearch views with pagination, + Other ApiView classes should inherit from this class""" + serializer_class = None + document_class = None + + @abc.abstractmethod + def generate_q_expression(self, query): + """This method should be overridden + and return a Q() expression.""" + + def get(self, request, query): + try: + q = self.generate_q_expression(query) + search = self.document_class.search().query(q) + response = search.execute() + + print(f"Found {response.hits.total.value} hit(s) for query: '{query}'") + + results = self.paginate_queryset(response, request, view=self) # noqa + serializer = self.serializer_class(results, many=True) + return self.get_paginated_response(serializer.data) + except Exception as e: + return HttpResponse(e, status=500) + + +class SearchUserDocumentApiView(PaginatedElasticSearchApiView): + """Base ApiView Class for elasticsearch views with pagination, + Other ApiView classes should inherit from this class""" + serializer_class = UserRelationDocumentSerializer + document_class = UserRelationDocument + + def generate_q_expression(self, query): + return Q( + 'bool', + should=[ + Q("match", user__username=query), + Q("match", user__mobile=query), + Q("match", user__national_code=query), + Q("match", organization__type__key=query), + Q("match", organization__name=query), + Q("match", organization__city__name=query), + Q("match", organization__province__name=query), + Q("match", organization__national_unique_id=query), + Q("match", organization__company_code=query), + Q("match", role__role_name=query), + ], + minimum_should_match=1, + ) diff --git a/apps/search/api/v1/serializers.py b/apps/search/api/v1/serializers.py new file mode 100644 index 0000000..10e10cc --- /dev/null +++ b/apps/search/api/v1/serializers.py @@ -0,0 +1,15 @@ +from django_elasticsearch_dsl_drf.serializers import DocumentSerializer +from apps.search.documents import UserRelationDocument + + +class UserRelationDocumentSerializer(DocumentSerializer): + """Serializer for user relation document.""" + + class Meta: + document = UserRelationDocument + fields = ( + 'id', + 'user', + 'organization', + 'role' + ) diff --git a/apps/search/api/v1/urls.py b/apps/search/api/v1/urls.py new file mode 100644 index 0000000..5ddccc5 --- /dev/null +++ b/apps/search/api/v1/urls.py @@ -0,0 +1,10 @@ +from django.urls import path, include +from .api import SearchUserDocumentApiView +from rest_framework import routers + +router = routers.DefaultRouter() + +urlpatterns = [ + path('', include(router.urls), name='search_user'), + path('user_elastic//', SearchUserDocumentApiView.as_view()), +] diff --git a/apps/search/api/v1/views.py b/apps/search/api/v1/views.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v2/__init__.py b/apps/search/api/v2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v2/serializers.py b/apps/search/api/v2/serializers.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v2/urls.py b/apps/search/api/v2/urls.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/api/v2/views.py b/apps/search/api/v2/views.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/certs/http.p12 b/apps/search/certs/http.p12 deleted file mode 100644 index 1b88326..0000000 Binary files a/apps/search/certs/http.p12 and /dev/null differ diff --git a/apps/search/certs/http_ca.crt b/apps/search/certs/http_ca.crt deleted file mode 100644 index cc5b74c..0000000 --- a/apps/search/certs/http_ca.crt +++ /dev/null @@ -1,31 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIFWjCCA0KgAwIBAgIVAJzJVclRzLeDn2zXiqaZcs009WrZMA0GCSqGSIb3DQEB -CwUAMDwxOjA4BgNVBAMTMUVsYXN0aWNzZWFyY2ggc2VjdXJpdHkgYXV0by1jb25m -aWd1cmF0aW9uIEhUVFAgQ0EwHhcNMjUwNTA2MDUyODMwWhcNMjgwNTA1MDUyODMw -WjA8MTowOAYDVQQDEzFFbGFzdGljc2VhcmNoIHNlY3VyaXR5IGF1dG8tY29uZmln -dXJhdGlvbiBIVFRQIENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA -lpZfJN3SR/HhgRd6wDOEZwSanoSgI0s/y7RcLBxtH29HGmlgegX38KugErYhBOx0 -CgGivcUG7CiyWPEg8CP71+pn1iQburH1zcnKovLO5pZc7p2bnnKESNsAH9j+EEza -NVUR9+tFyKaoss8QU0r1uKHFjghWR8aFRBVjPIPZs8z2GqbRzI0NBHmhxD0Tedp/ -67amF7N/64ID1LVgUWyQH28DtguEjp4jEL3gbU7gEiorg42XHymu4sKieWJQczaH -sVDTmcT8HhY8wL7qf9KD6UPyqtT2NnxyODWnaO2epjbII0XvIrXH3mfPzxNQ2mQT -2V+sv34dHS6yCr+jHGU2Z6nD+5Kr2l8QRJaxW0WNHgcKXW45TLbEWDOxfJCGSQYU -zXP9LsLk2SBeAQ4OECs0jBymVSf4c4TaYtloVpdZTKMbm66VwfsJjSxSKd03HTWz -SESkM0YQ8y33SU+RDkVCkWlV3isf1/FzibfSeDbPlrRIfV0oRlzkiY4mLrytQO2Q -L7JDZtZ2+y04AgtzrAtHwfAH/KsKjUr63gzouIwfdahZudQvNYQUCSyOMLGGQ5VJ -UA8K5cCj+Z0C0R7/A/0uNsMhIRA2KftFJtfEnQok3m7kJnrrkD8xUaJ3P8FGdP9J -fIy6JXKBp1nBS+YAkou6tR7BsPTrroKDyK4pbhCsrt8CAwEAAaNTMFEwHQYDVR0O -BBYEFHEPMqbc3BiLqvXgYaxm2yqMQp1MMB8GA1UdIwQYMBaAFHEPMqbc3BiLqvXg -Yaxm2yqMQp1MMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggIBADB6 -te9AWGobEXYfEt+0rlsTWJNVksyQs94OTfBLtjgPcDb0EzXteoxrFSUh4KblioT3 -+KVGPNfgYEEH6hnPNU2ea2ZL3cVDdrSWwCYqSJAmxOKKPpISu2/HZ2xtVuEjWqSe -CJcJvb2Fh8HSSRFTwko3h8B9ie4cb3cOiHle6tM+Kc1JxxLvAurlHl0xq4wdZJqW -RJUMYs+R+gCQiT4wBZlFoUHSCOlSDPb0YxMDvISaJ4DOxGjbL2TSw6wP9LtOcUlA -Agjgsq+xzCim2vzW3h7IMdw1z/amXbyl1J3an7n8P41deB/7EePiJuNVU9zsSu68 -anlQamvPawEFsucL3QfiX0kSQd1pcT1r/XYAm0jPVBx2Qc3EOoD4wlkz5ATpE1ts -vWCgfvQsuhUoL6cD9WFzAiWXXZ3qRDcY5L7zs0c/geUybRB/gWgMh/ROypfUoxfT -F0Cy/cfm/cBpbdy7frN9XWAigh/TDnCdwnOhfcvwr3AMxVR7X7NIVwBvTOPGIfwh -FLoPiaPrGkPntItdZWqGUUpkPrIzOpSZWurJ40pPCc0uBVUudYMH686MiyB5wZSS -/sGJIjfeivKVvH77kKCXld3Z35/E47msUvtl/DuUVtXQb12tQ4boyQJ6O6JVyK2n -1cRq9qLHcpfoG81BzrGIJvTWOBXTs02lOCRObF7z ------END CERTIFICATE----- diff --git a/apps/search/certs/transport.p12 b/apps/search/certs/transport.p12 deleted file mode 100644 index 32068e2..0000000 Binary files a/apps/search/certs/transport.p12 and /dev/null differ diff --git a/apps/search/document/user_document.py b/apps/search/document/user_document.py new file mode 100644 index 0000000..f83ca79 --- /dev/null +++ b/apps/search/document/user_document.py @@ -0,0 +1,154 @@ +from django_elasticsearch_dsl_drf.compat import StringField, KeywordField +from elasticsearch_dsl import analyzer +from apps.authorization.models import UserRelations, Role +from apps.authentication.models import User, Organization +from django_elasticsearch_dsl.registries import registry +from django_elasticsearch_dsl import Document, fields + +html_strip = analyzer( + 'html_strip', + tokenizer="standard", + filter=["lowercase", "stop", "snowball"], + char_filter=["html_strip"] +) + + +@registry.register_document +class UserRelationDocument(Document): + """Address Elasticsearch document.""" + + # In different parts of the code different fields are used. There are + # a couple of use cases: (1) more-like-this functionality, where `title`, + # `description` and `summary` fields are used, (2) search and filtering + # functionality where all the fields are used. + + user = fields.ObjectField(properties={ + 'username': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'mobile': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': KeywordField() + } + ), + 'national_code': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'first_name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'last_name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + }) + organization = fields.ObjectField(properties={ + 'name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'type': fields.ObjectField(properties={ + 'key': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ) + }), + 'national_unique_id': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'field_of_activity': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'company_code': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'province': fields.ObjectField(properties={ + 'name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + }), + 'city': fields.ObjectField(properties={ + 'name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + }), + 'parent_organization': fields.ObjectField(properties={ + 'name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + 'unique_national_id': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ), + }) + }) + role = fields.ObjectField(properties={ + 'role_name': StringField( + analyzer=html_strip, + fields={ + 'raw': KeywordField(), + 'suggest': fields.CompletionField() + } + ) + }) + + class Index: + name = 'userrelations' # noqa + settings = { + 'number_of_shards': 1, + 'number_of_replicas': 1 # number of copies from data in document + } + + class Django: + model = UserRelations + relates_models = [User, Organization, Role] diff --git a/apps/search/documents.py b/apps/search/documents.py new file mode 100644 index 0000000..beffe72 --- /dev/null +++ b/apps/search/documents.py @@ -0,0 +1 @@ +from apps.search.document.user_document import UserRelationDocument diff --git a/apps/search/fixtures/.gitkeep b/apps/search/fixtures/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/management/__init__.py b/apps/search/management/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/management/commands/__init__.py b/apps/search/management/commands/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/management/commands/command.py b/apps/search/management/commands/command.py new file mode 100644 index 0000000..c68face --- /dev/null +++ b/apps/search/management/commands/command.py @@ -0,0 +1 @@ +# Your custom management commands go here. diff --git a/apps/search/signals.py b/apps/search/signals.py new file mode 100644 index 0000000..5f12b06 --- /dev/null +++ b/apps/search/signals.py @@ -0,0 +1,71 @@ +from django.db.models.signals import post_save, post_delete +from django.dispatch import receiver + +from django_elasticsearch_dsl.registries import registry + + +@receiver(post_save) +def update_document(sender, **kwargs): + """Update document on added/changed records. + + Update Book document index if related `books.Publisher` (`publisher`), + `books.Author` (`authors`), `books.Tag` (`tags`) fields have been updated + in the database. + """ + app_label = sender._meta.app_label + model_name = sender._meta.model_name + instance = kwargs['instance'] + + if app_label == 'book': + # If it is `books.Publisher` that is being updated. + if model_name == 'publisher': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + + # If it is `books.Author` that is being updated. + if model_name == 'author': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + + # If it is `books.Tag` that is being updated. + if model_name == 'tag': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + + +@receiver(post_delete) +def delete_document(sender, **kwargs): + """Update document on deleted records. + + Updates Book document from index if related `books.Publisher` + (`publisher`), `books.Author` (`authors`), `books.Tag` (`tags`) fields + have been removed from database. + """ + app_label = sender._meta.app_label + model_name = sender._meta.model_name + instance = kwargs['instance'] + + if app_label == 'books': + # If it is `books.Publisher` that is being updated. + if model_name == 'publisher': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + # registry.delete(_instance, raise_on_error=False) + + # If it is `books.Author` that is being updated. + if model_name == 'author': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + # registry.delete(_instance, raise_on_error=False) + + # If it is `books.Tag` that is being updated. + if model_name == 'tag': + instances = instance.books.all() + for _instance in instances: + registry.update(_instance) + # registry.delete(_instance, raise_on_error=False) diff --git a/apps/search/tests/test_common_services.py b/apps/search/tests/test_common_services.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/search/urls.py b/apps/search/urls.py new file mode 100644 index 0000000..3c4bc4d --- /dev/null +++ b/apps/search/urls.py @@ -0,0 +1,5 @@ +from django.urls import path, include + +urlpatterns = [ + path('api/v1/', include('apps.search.api.v1.urls')) +] diff --git a/apps/tag/migrations/0002_tag_city.py b/apps/tag/migrations/0002_tag_city.py new file mode 100644 index 0000000..b442524 --- /dev/null +++ b/apps/tag/migrations/0002_tag_city.py @@ -0,0 +1,20 @@ +# Generated by Django 4.2.20 on 2025-05-10 08:51 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0008_remove_organization_type_organizationtype'), + ('tag', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='tag', + name='city', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='tag_city', to='authentication.city'), + ), + ] diff --git a/apps/tag/migrations/0003_remove_tag_created_by_remove_tag_modified_by.py b/apps/tag/migrations/0003_remove_tag_created_by_remove_tag_modified_by.py new file mode 100644 index 0000000..7db3d6e --- /dev/null +++ b/apps/tag/migrations/0003_remove_tag_created_by_remove_tag_modified_by.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:01 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('tag', '0002_tag_city'), + ] + + operations = [ + migrations.RemoveField( + model_name='tag', + name='created_by', + ), + migrations.RemoveField( + model_name='tag', + name='modified_by', + ), + ] diff --git a/apps/tag/migrations/0004_tag_created_by_tag_modified_by.py b/apps/tag/migrations/0004_tag_created_by_tag_modified_by.py new file mode 100644 index 0000000..8b544e9 --- /dev/null +++ b/apps/tag/migrations/0004_tag_created_by_tag_modified_by.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tag', '0003_remove_tag_created_by_remove_tag_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='tag', + name='created_by', + field=models.CharField(max_length=50, null=True), + ), + migrations.AddField( + model_name='tag', + name='modified_by', + field=models.CharField(max_length=50, null=True), + ), + ] diff --git a/apps/tag/migrations/0005_remove_tag_created_by_remove_tag_modified_by.py b/apps/tag/migrations/0005_remove_tag_created_by_remove_tag_modified_by.py new file mode 100644 index 0000000..608f0ba --- /dev/null +++ b/apps/tag/migrations/0005_remove_tag_created_by_remove_tag_modified_by.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:27 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('tag', '0004_tag_created_by_tag_modified_by'), + ] + + operations = [ + migrations.RemoveField( + model_name='tag', + name='created_by', + ), + migrations.RemoveField( + model_name='tag', + name='modified_by', + ), + ] diff --git a/apps/tag/migrations/0006_tag_created_by_tag_modified_by.py b/apps/tag/migrations/0006_tag_created_by_tag_modified_by.py new file mode 100644 index 0000000..324fdd1 --- /dev/null +++ b/apps/tag/migrations/0006_tag_created_by_tag_modified_by.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:29 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('tag', '0005_remove_tag_created_by_remove_tag_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='tag', + name='created_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL), + ), + migrations.AddField( + model_name='tag', + name='modified_by', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL), + ), + ] diff --git a/apps/tag/migrations/0007_tag_creator_info_tag_modifier_info.py b/apps/tag/migrations/0007_tag_creator_info_tag_modifier_info.py new file mode 100644 index 0000000..5852367 --- /dev/null +++ b/apps/tag/migrations/0007_tag_creator_info_tag_modifier_info.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.20 on 2025-05-17 06:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tag', '0006_tag_created_by_tag_modified_by'), + ] + + operations = [ + migrations.AddField( + model_name='tag', + name='creator_info', + field=models.CharField(max_length=100, null=True), + ), + migrations.AddField( + model_name='tag', + name='modifier_info', + field=models.CharField(max_length=100, null=True), + ), + ] diff --git a/apps/tag/permissions.py b/apps/tag/permissions.py index 25edb52..a714e2c 100644 --- a/apps/tag/permissions.py +++ b/apps/tag/permissions.py @@ -1,25 +1,35 @@ -from rest_framework import permissions +from apps.core import permissions -# example Code -class AuthorAllStaffAllButEditOrReadOnly(permissions.BasePermission): - edit_methods = ("PUT", "PATCH") +class TagCreatePermission(permissions.BasePermission): + """ permission to create tag """ def has_permission(self, request, view): - if request.user.is_authenticated: + user_level_info = self.get_user_permissions(request, view) + if 'tag_create' in user_level_info['permissions']: return True - def has_object_permission(self, request, view, obj): - if request.user.is_superuser: + +class TagUpdatePermission(permissions.BasePermission): + """ permission to update tag """ + + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'tag_update' in user_level_info['permissions']: return True - if request.method in permissions.SAFE_METHODS: + +class TagTrashPermission(permissions.BasePermission): + """ permission to trash tag """ + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'tag_trash' in user_level_info['permissions']: return True - if obj.author == request.user: - return True - if request.user.is_staff and request.method not in self.edit_methods: +class TagDeletePermission(permissions.BasePermission): + """ permission to delete trash """ + def has_permission(self, request, view): + user_level_info = self.get_user_permissions(request, view) + if 'tag_trash' in user_level_info['permissions']: return True - - return False diff --git a/apps/tag/urls.py b/apps/tag/urls.py index 0865d84..5eb992d 100644 --- a/apps/tag/urls.py +++ b/apps/tag/urls.py @@ -1 +1,5 @@ -# Your urls go here +from django.urls import path, include + +urlpatterns = [ + path('web/api/', include('apps.tag.web.api.v1.urls')) +] diff --git a/apps/tag/web/api/v1/api.py b/apps/tag/web/api/v1/api.py new file mode 100644 index 0000000..d9aaa82 --- /dev/null +++ b/apps/tag/web/api/v1/api.py @@ -0,0 +1,58 @@ +from rest_framework import viewsets +from apps.tag import models as tag_models +from rest_framework import status +from rest_framework.response import Response +from .serializers import TagSerializer +from rest_framework.decorators import action +from django.db import transaction +from rest_framework.exceptions import APIException +from apps.tag import permissions as tag_permissions + + +def trash(queryset, pk): + """ sent object to trash """ + obj = queryset.get(id=pk) + obj.trash = True + obj.save() + + +def delete(queryset, pk): + """ full delete object """ + obj = queryset.get(id=pk) + obj.delete() + + +class TagViewSet(viewsets.ModelViewSet): + queryset = tag_models.Tag.objects.all() + serializer_class = TagSerializer + + @action( + methods=['put'], + detail=True, + url_path='trash', + url_name='trash', + name='trash', + ) + @transaction.atomic + def trash(self, request, pk=None): + """ Sent Tag to trash """ + try: + trash(self.queryset, pk) + except APIException as e: + return Response(e, status.HTTP_204_NO_CONTENT) + + @action( + methods=['post'], + detail=True, + url_name='delete', + url_path='delete', + name='delete' + ) + @transaction.atomic + def delete(self, request, pk=None): + """ Full delete of Tag object """ + try: + delete(self.queryset, pk) + return Response(status=status.HTTP_200_OK) + except APIException as e: + return Response(e, status=status.HTTP_204_NO_CONTENT) \ No newline at end of file diff --git a/apps/tag/web/api/v1/serializers.py b/apps/tag/web/api/v1/serializers.py index e69de29..51ed6a7 100644 --- a/apps/tag/web/api/v1/serializers.py +++ b/apps/tag/web/api/v1/serializers.py @@ -0,0 +1,27 @@ +from rest_framework import serializers +from apps.tag import models as tag_models +from apps.authentication.api.v1.serializers import serializer as auth_serializers + + +class TagSerializer(serializers.ModelSerializer): + """ Tag Model Serializer """ + class Meta: + model = tag_models.Tag + fields = [ + 'id', + 'code', + 'province', + 'city', + 'organization', + 'status', + ] + + def to_representation(self, instance): + """ Customize output of serializer """ + representation = super().to_representation(instance) + if isinstance(instance, tag_models.Tag): + representation['province'] = auth_serializers.ProvinceSerializer(instance.province).data + representation['city'] = auth_serializers.CitySerializer(instance.city).data + representation['organization'] = auth_serializers.OrganizationSerializer(instance.organization).data + + return representation diff --git a/apps/tag/web/api/v1/urls.py b/apps/tag/web/api/v1/urls.py index e69de29..1702391 100644 --- a/apps/tag/web/api/v1/urls.py +++ b/apps/tag/web/api/v1/urls.py @@ -0,0 +1,10 @@ +from django.urls import path, include +from rest_framework.routers import DefaultRouter +from .api import TagViewSet + +router = DefaultRouter() +router.register(r'tag', TagViewSet, basename='tag') + +urlpatterns = [ + path('v1/', include(router.urls)) +] diff --git a/common/tools.py b/common/tools.py new file mode 100644 index 0000000..535752e --- /dev/null +++ b/common/tools.py @@ -0,0 +1,53 @@ +import typing + + +class CustomOperations: + """ + @for Custom Operations in view sets + """ + + def custom_create( # noqa + self, + user: object = None, + request: object = None, + view: object = None, + data_key: str = None, + additional_data: dict = None + ) -> typing.Any: + """ + to create custom view objects that + defined in VIEW_SET dictionary to + just calling this method in other + view sets + """ + view_data = request.data # included needed data for view set # noqa + if user: + view_data[data_key].update({'user': user.id}) # noqa + if additional_data: + view_data[data_key].update(additional_data) + serializer = view.serializer_class(data=view_data[data_key]) # noqa + serializer.is_valid(raise_exception=True) + view.perform_create(serializer) # noqa + headers = view.get_success_headers(serializer.data) # noqa + return serializer.data + + def custom_update( # noqa + self, + user: object = None, + request: object = None, + obj_id: object = None, + view: object = None, + data_key: str = None, + additional_data: dict = None + ) -> typing.Any: + view_data = request.data # included needed data for view set # noqa + if user: + view_data[data_key].update({'user': user.id}) # noqa + if additional_data: + view_data[data_key].update(additional_data) + serializer = view.serializer_class(data=view_data[data_key]) # noqa + serializer.is_valid(raise_exception=True) + serializer.update(view.queryset.get(id=obj_id), view_data[data_key]) # noqa + # view.perform_update(serializer) # noqa + headers = view.get_success_headers(serializer.data) # noqa + return serializer.data diff --git a/logs/log.json b/logs/log.json new file mode 100644 index 0000000..3d0c276 --- /dev/null +++ b/logs/log.json @@ -0,0 +1 @@ +{"_default": {"1": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:54:55.040619"}, "2": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:54:59.706596"}, "3": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:56:29.544076"}, "4": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:57:05.503536"}, "5": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 545, "body_response": "\n\n\n \n \n IntegrityError\n at /livestock/web/api/v1/livestock_species/\n \n \n \n \n\n\n
\n

IntegrityError\n at /livestock/web/api/v1/livestock_species/

\n
null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/livestock/web/api/v1/livestock_species/
Django Version:5.0
Exception Type:IntegrityError
Exception Value:
null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute
Raised during:apps.livestock.web.api.v1.api.LiveStockViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sat, 24 May 2025 07:27:42 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>})
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL: Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001C39D12D910>>
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock_species/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function LiveStockViewSet at 0x000001C39CFFAFC0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock_species/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001C39D12D910>
    wrapped_callback
    <function LiveStockViewSet at 0x000001C39CFFAFC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock_species/'>
    view_func
    <function LiveStockViewSet at 0x000001C39CFFAF20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.livestock.web.api.v1.api.LiveStockViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>>
    initkwargs
    {'basename': 'livestock_species', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock_species/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method CreateModelMixin.create of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>,\n 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>}
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    exception_handler
    <function exception_handler at 0x000001C39CCADE40>
    response
    None
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method CreateModelMixin.create of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 19, in create\n \n\n \n
    \n \n
      \n \n
    1. class CreateModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     Create a model instance.
    6. \n \n
    7.     """
    8. \n \n
    9.     def create(self, request, *args, **kwargs):
    10. \n \n
    11.         serializer = self.get_serializer(data=request.data)
    12. \n \n
    13.         serializer.is_valid(raise_exception=True)
    14. \n \n
    \n \n
      \n
    1.         self.perform_create(serializer)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         headers = self.get_success_headers(serializer.data)
    2. \n \n
    3.         return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)
    4. \n \n
    5. \n \n
    6.     def perform_create(self, serializer):
    7. \n \n
    8.         serializer.save()
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    serializer
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'name': '\u06af\u0648\u0633\u0641\u0646\u062f'}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 24, in perform_create\n \n\n \n
    \n \n
      \n \n
    1.         serializer = self.get_serializer(data=request.data)
    2. \n \n
    3.         serializer.is_valid(raise_exception=True)
    4. \n \n
    5.         self.perform_create(serializer)
    6. \n \n
    7.         headers = self.get_success_headers(serializer.data)
    8. \n \n
    9.         return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)
    10. \n \n
    11. \n \n
    12.     def perform_create(self, serializer):
    13. \n \n
    \n \n
      \n
    1.         serializer.save()\n            ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_success_headers(self, data):
    3. \n \n
    4.         try:
    5. \n \n
    6.             return {'Location': str(data[api_settings.URL_FIELD_NAME])}
    7. \n \n
    8.         except (TypeError, KeyError):
    9. \n \n
    10.             return {}
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000001C39D47F830>
    serializer
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'name': '\u06af\u0648\u0633\u0641\u0646\u062f'}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 210, in save\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if self.instance is not None:
    3. \n \n
    4.             self.instance = self.update(self.instance, validated_data)
    5. \n \n
    6.             assert self.instance is not None, (
    7. \n \n
    8.                 '`update()` did not return an object instance.'
    9. \n \n
    10.             )
    11. \n \n
    12.         else:
    13. \n \n
    \n \n
      \n
    1.             self.instance = self.create(validated_data)\n                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             assert self.instance is not None, (
    2. \n \n
    3.                 '`create()` did not return an object instance.'
    4. \n \n
    5.             )
    6. \n \n
    7. \n \n
    8.         return self.instance
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {}
    self
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'name': '\u06af\u0648\u0633\u0641\u0646\u062f'}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    validated_data
    {}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 991, in create\n \n\n \n
    \n \n
      \n \n
    1.         info = model_meta.get_field_info(ModelClass)
    2. \n \n
    3.         many_to_many = {}
    4. \n \n
    5.         for field_name, relation_info in info.relations.items():
    6. \n \n
    7.             if relation_info.to_many and (field_name in validated_data):
    8. \n \n
    9.                 many_to_many[field_name] = validated_data.pop(field_name)
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             instance = ModelClass._default_manager.create(**validated_data)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TypeError:
    2. \n \n
    3.             tb = traceback.format_exc()
    4. \n \n
    5.             msg = (
    6. \n \n
    7.                 'Got a `TypeError` when calling `%s.%s.create()`. '
    8. \n \n
    9.                 'This may be because you have a writable field on the '
    10. \n \n
    11.                 'serializer class that is not a valid argument to '
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ModelClass
    <class 'apps.livestock.models.LiveStock'>
    field_name
    'species'
    info
    FieldInfo(pk=<django.db.models.fields.BigAutoField: id>, fields={'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'weight_type': <django.db.models.fields.CharField: weight_type>, 'birthdate': <django.db.models.fields.DateTimeField: birthdate>, 'gender': <django.db.models.fields.IntegerField: gender>}, forward_relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'herd': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: herd>, related_model=<class 'apps.herd.models.Herd'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'tag': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: tag>, related_model=<class 'apps.tag.models.Tag'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: type>, related_model=<class 'apps.livestock.models.LiveStockType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'use_type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: use_type>, related_model=<class 'apps.livestock.models.LiveStockUseType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'species': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: species>, related_model=<class 'apps.livestock.models.LiveStockSpecies'>, to_many=False, to_field='id', has_through_model=False, reverse=False)}, reverse_relations={}, fields_and_pk={'pk': <django.db.models.fields.BigAutoField: id>, 'id': <django.db.models.fields.BigAutoField: id>, 'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'weight_type': <django.db.models.fields.CharField: weight_type>, 'birthdate': <django.db.models.fields.DateTimeField: birthdate>, 'gender': <django.db.models.fields.IntegerField: gender>}, relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'herd': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: herd>, related_model=<class 'apps.herd.models.Herd'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'tag': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: tag>, related_model=<class 'apps.tag.models.Tag'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: type>, related_model=<class 'apps.livestock.models.LiveStockType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'use_type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: use_type>, related_model=<class 'apps.livestock.models.LiveStockUseType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), '\u2026 <trimmed 4321 bytes string>
    many_to_many
    {}
    relation_info
    RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: species>, related_model=<class 'apps.livestock.models.LiveStockSpecies'>, to_many=False, to_field='id', has_through_model=False, reverse=False)
    self
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock_species/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'name': '\u06af\u0648\u0633\u0641\u0646\u062f'}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    validated_data
    {}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    name
    'create'
    self
    <django.db.models.manager.Manager object at 0x000001C39D00D010>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 677, in create\n \n\n \n
    \n \n
      \n \n
    1.             raise ValueError(
    2. \n \n
    3.                 "The following fields do not exist in this model: %s"
    4. \n \n
    5.                 % ", ".join(reverse_one_to_one_fields)
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.         obj = self.model(**kwargs)
    11. \n \n
    12.         self._for_write = True
    13. \n \n
    \n \n
      \n
    1.         obj.save(force_insert=True, using=self.db)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return obj
    2. \n \n
    3. \n \n
    4.     async def acreate(self, **kwargs):
    5. \n \n
    6.         return await sync_to_async(self.create)(**kwargs)
    7. \n \n
    8. \n \n
    9.     def _prepare_for_bulk_create(self, objs):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {}
    obj
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    reverse_one_to_one_fields
    frozenset()
    self
    <QuerySet []>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\livestock\\models.py, line 87, in save\n \n\n \n
    \n \n
      \n \n
    1.     )
    2. \n \n
    3.     gender = models.IntegerField(choices=gender_type, default=1)
    4. \n \n
    5. \n \n
    6.     def __str__(self):
    7. \n \n
    8.         return f'{self.type.name}-{self.species.name}'
    9. \n \n
    10. \n \n
    11.     def save(self, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         super(LiveStock, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.livestock.models.LiveStock'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\models.py, line 37, in save\n \n\n \n
    \n \n
      \n \n
    1.     def save(self, *args, **kwargs):
    2. \n \n
    3.         user = get_current_user()  # get user object
    4. \n \n
    5.         self.modified_by = user
    6. \n \n
    7.         if not self.creator_info:
    8. \n \n
    9.             self.created_by = user
    10. \n \n
    11.             self.creator_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    12. \n \n
    13.         self.modifier_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    14. \n \n
    \n \n
      \n
    1.         super(BaseModel, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class MobileTest(BaseModel):
    4. \n \n
    5.     latitude = models.DecimalField(max_digits=22, decimal_places=16)
    6. \n \n
    7.     longitude = models.DecimalField(max_digits=22, decimal_places=16)
    8. \n \n
    9.     count = models.IntegerField(default=0)
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.core.models.BaseModel'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    user
    <User: moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 814, in save\n \n\n \n
    \n \n
      \n \n
    1.             for field in self._meta.concrete_fields:
    2. \n \n
    3.                 if not field.primary_key and not hasattr(field, "through"):
    4. \n \n
    5.                     field_names.add(field.attname)
    6. \n \n
    7.             loaded_fields = field_names.difference(deferred_fields)
    8. \n \n
    9.             if loaded_fields:
    10. \n \n
    11.                 update_fields = frozenset(loaded_fields)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         self.save_base(\n             ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             using=using,
    2. \n \n
    3.             force_insert=force_insert,
    4. \n \n
    5.             force_update=force_update,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.         )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    deferred_fields
    set()
    force_insert
    True
    force_update
    False
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 901, in save_base\n \n\n \n
    \n \n
      \n \n
    1.             parent_inserted = False
    2. \n \n
    3.             if not raw:
    4. \n \n
    5.                 # Validate force insert only when parents are inserted.
    6. \n \n
    7.                 force_insert = self._validate_force_insert(force_insert)
    8. \n \n
    9.                 parent_inserted = self._save_parents(
    10. \n \n
    11.                     cls, using, update_fields, force_insert
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             updated = self._save_table(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 raw,
    2. \n \n
    3.                 cls,
    4. \n \n
    5.                 force_insert or parent_inserted,
    6. \n \n
    7.                 force_update,
    8. \n \n
    9.                 using,
    10. \n \n
    11.                 update_fields,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.livestock.models.LiveStock'>
    context_manager
    <contextlib._GeneratorContextManager object at 0x000001C39D4BFCE0>
    force_insert
    (<class 'apps.livestock.models.LiveStock'>,)
    force_update
    False
    meta
    <Options for LiveStock>
    origin
    <class 'apps.livestock.models.LiveStock'>
    parent_inserted
    False
    raw
    False
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1059, in _save_table\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             fields = [
    4. \n \n
    5.                 f
    6. \n \n
    7.                 for f in meta.local_concrete_fields
    8. \n \n
    9.                 if not f.generated and (pk_set or f is not meta.auto_field)
    10. \n \n
    11.             ]
    12. \n \n
    13.             returning_fields = meta.db_returning_fields
    14. \n \n
    \n \n
      \n
    1.             results = self._do_insert(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 cls._base_manager, using, fields, returning_fields, raw
    2. \n \n
    3.             )
    4. \n \n
    5.             if results:
    6. \n \n
    7.                 for value, field in zip(results[0], returning_fields):
    8. \n \n
    9.                     setattr(self, field.attname, value)
    10. \n \n
    11.         return updated
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.livestock.models.LiveStock'>
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    force_insert
    (<class 'apps.livestock.models.LiveStock'>,)
    force_update
    False
    meta
    <Options for LiveStock>
    non_pks
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    pk_set
    False
    pk_val
    None
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    update_fields
    None
    updated
    False
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1100, in _do_insert\n \n\n \n
    \n \n
      \n \n
    1.         return filtered._update(values) > 0
    2. \n \n
    3. \n \n
    4.     def _do_insert(self, manager, using, fields, returning_fields, raw):
    5. \n \n
    6.         """
    7. \n \n
    8.         Do an INSERT. If returning_fields is defined then this method should
    9. \n \n
    10.         return the newly created data for the model.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         return manager._insert(\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             [self],
    2. \n \n
    3.             fields=fields,
    4. \n \n
    5.             returning_fields=returning_fields,
    6. \n \n
    7.             using=using,
    8. \n \n
    9.             raw=raw,
    10. \n \n
    11.         )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    manager
    <django.db.models.manager.Manager object at 0x000001C39D151820>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    kwargs
    {'fields': [<django.db.models.fields.DateTimeField: create_date>,\n            <django.db.models.fields.DateTimeField: modify_date>,\n            <django.db.models.fields.related.ForeignKey: created_by>,\n            <django.db.models.fields.related.ForeignKey: modified_by>,\n            <django.db.models.fields.CharField: creator_info>,\n            <django.db.models.fields.CharField: modifier_info>,\n            <django.db.models.fields.BooleanField: trash>,\n            <django.db.models.fields.related.ForeignKey: herd>,\n            <django.db.models.fields.related.ForeignKey: tag>,\n            <django.db.models.fields.related.ForeignKey: type>,\n            <django.db.models.fields.related.ForeignKey: use_type>,\n            <django.db.models.fields.CharField: weight_type>,\n            <django.db.models.fields.related.ForeignKey: species>,\n            <django.db.models.fields.DateTimeField: birthdate>,\n            <django.db.models.fields.IntegerField: gender>],\n 'raw': False,\n 'returning_fields': [<django.db.models.fields.BigAutoField: id>],\n 'using': 'default'}
    name
    '_insert'
    self
    <django.db.models.manager.Manager object at 0x000001C39D151820>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 1845, in _insert\n \n\n \n
    \n \n
      \n \n
    1.         query = sql.InsertQuery(
    2. \n \n
    3.             self.model,
    4. \n \n
    5.             on_conflict=on_conflict,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.             unique_fields=unique_fields,
    10. \n \n
    11.         )
    12. \n \n
    13.         query.insert_values(fields, objs, raw=raw)
    14. \n \n
    \n \n
      \n
    1.         return query.get_compiler(using=using).execute_sql(returning_fields)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _insert.alters_data = True
    3. \n \n
    4.     _insert.queryset_only = False
    5. \n \n
    6. \n \n
    7.     def _batched_insert(
    8. \n \n
    9.         self,
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    objs
    Error in formatting: AttributeError: 'NoneType' object has no attribute 'name'
    on_conflict
    None
    query
    <django.db.models.sql.subqueries.InsertQuery object at 0x000001C39D4BFD40>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <QuerySet []>
    unique_fields
    None
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\sql\\compiler.py, line 1822, in execute_sql\n \n\n \n
    \n \n
      \n \n
    1.             and len(self.query.objs) != 1
    2. \n \n
    3.             and not self.connection.features.can_return_rows_from_bulk_insert
    4. \n \n
    5.         )
    6. \n \n
    7.         opts = self.query.get_meta()
    8. \n \n
    9.         self.returning_fields = returning_fields
    10. \n \n
    11.         with self.connection.cursor() as cursor:
    12. \n \n
    13.             for sql, params in self.as_sql():
    14. \n \n
    \n \n
      \n
    1.                 cursor.execute(sql, params)\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if not self.returning_fields:
    2. \n \n
    3.                 return []
    4. \n \n
    5.             if (
    6. \n \n
    7.                 self.connection.features.can_return_rows_from_bulk_insert
    8. \n \n
    9.                 and len(self.query.objs) > 1
    10. \n \n
    11.             ):
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cursor
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    opts
    <Options for LiveStock>
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <SQLInsertCompiler model=LiveStock connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 122, in execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class CursorDebugWrapper(CursorWrapper):
    4. \n \n
    5.     # XXX callproc isn't instrumented at this time.
    6. \n \n
    7. \n \n
    8.     def execute(self, sql, params=None):
    9. \n \n
    10.         with self.debug_sql(sql, params, use_last_executed_query=True):
    11. \n \n
    \n \n
      \n
    1.             return super().execute(sql, params)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def executemany(self, sql, param_list):
    3. \n \n
    4.         with self.debug_sql(sql, param_list, many=True):
    5. \n \n
    6.             return super().executemany(sql, param_list)
    7. \n \n
    8. \n \n
    9.     @contextmanager
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'django.db.backends.utils.CursorDebugWrapper'>
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 79, in execute\n \n\n \n
    \n \n
      \n \n
    1.             elif kparams is None:
    2. \n \n
    3.                 return self.cursor.callproc(procname, params)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 params = params or ()
    8. \n \n
    9.                 return self.cursor.callproc(procname, params, kparams)
    10. \n \n
    11. \n \n
    12.     def execute(self, sql, params=None):
    13. \n \n
    \n \n
      \n
    1.         return self._execute_with_wrappers(\n                   
      \u2026
    2. \n
    \n \n
      \n \n
    1.             sql, params, many=False, executor=self._execute
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def executemany(self, sql, param_list):
    7. \n \n
    8.         return self._execute_with_wrappers(
    9. \n \n
    10.             sql, param_list, many=True, executor=self._executemany
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 92, in _execute_with_wrappers\n \n\n \n
    \n \n
      \n \n
    1.             sql, param_list, many=True, executor=self._executemany
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def _execute_with_wrappers(self, sql, params, many, executor):
    7. \n \n
    8.         context = {"connection": self.db, "cursor": self}
    9. \n \n
    10.         for wrapper in reversed(self.db.execute_wrappers):
    11. \n \n
    12.             executor = functools.partial(wrapper, executor)
    13. \n \n
    \n \n
      \n
    1.         return executor(sql, params, many, context)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>}
    executor
    <bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>>
    many
    False
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 100, in _execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    12.         self.db.validate_no_broken_transaction()
    13. \n \n
    \n \n
      \n
    1.         with self.db.wrap_database_errors:\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if params is None:
    2. \n \n
    3.                 # params default might be backend specific.
    4. \n \n
    5.                 return self.cursor.execute(sql)
    6. \n \n
    7.             else:
    8. \n \n
    9.                 return self.cursor.execute(sql, params)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>})
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\utils.py, line 91, in __exit__\n \n\n \n
    \n \n
      \n \n
    1.             db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
    2. \n \n
    3.             if issubclass(exc_type, db_exc_type):
    4. \n \n
    5.                 dj_exc_value = dj_exc_type(*exc_value.args)
    6. \n \n
    7.                 # Only set the 'errors_occurred' flag for errors that may make
    8. \n \n
    9.                 # the connection unusable.
    10. \n \n
    11.                 if dj_exc_type not in (DataError, IntegrityError):
    12. \n \n
    13.                     self.wrapper.errors_occurred = True
    14. \n \n
    \n \n
      \n
    1.                 raise dj_exc_value.with_traceback(traceback) from exc_value\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __call__(self, func):
    3. \n \n
    4.         # Note that we are intentionally not using @wraps here for performance
    5. \n \n
    6.         # reasons. Refs #21109.
    7. \n \n
    8.         def inner(*args, **kwargs):
    9. \n \n
    10.             with self:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    db_exc_type
    <class 'psycopg2.IntegrityError'>
    dj_exc_type
    <class 'django.db.utils.IntegrityError'>
    dj_exc_value
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    exc_type
    <class 'psycopg2.errors.NotNullViolation'>
    exc_value
    NotNullViolation('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (1, 2025-05-24 07:27:42.502517+00, 2025-05-24 07:27:42.502517+00, f, null, 1, null, null, null, null, null, L, null, null, null, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    self
    <django.db.utils.DatabaseErrorWrapper object at 0x000001C39D31AE10>
    traceback
    <traceback object at 0x000001C39D4D1EC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>})
    params
    (datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 7, 27, 42, 502517, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n None,\n None,\n None,\n None,\n 'L',\n None,\n None,\n 1)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001C39D4BFDD0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'32'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_9236
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ4MTUwNTc5LCJpYXQiOjE3NDgwNjQxNzksImp0aSI6ImY1NjA3MGQ5M2Q3ZTQ2OWY5YjUzZTBiNWU0Yzg4ZGI4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.FKrYU38zStPGnrzgoDzvAd5EAiCDuoAFrHPXncAknok')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.44.0'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/livestock/web/api/v1/livestock_species/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'eb03bff4-2cc9-43d8-baa8-b91cff85c929'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001C39D47F430>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:57:42.796790", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "6": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 314, "body_response": "{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 10:59:18.573270", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "7": {"endpoint": "/livestock/web/api/v1/livestock_species/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 2171, "body_response": "{\"id\":1,\"name\":\"2\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:00:58.014338", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "8": {"endpoint": "/livestock/web/api/v1/livestock_species/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 334, "body_response": "{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:01:10.637178", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "9": {"endpoint": "/livestock/web/api/v1/livestock_species/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 284, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:30:28.976392", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "10": {"endpoint": "/livestock/web/api/v1/livestock_type/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 313, "body_response": "{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:37:21.437666", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "11": {"endpoint": "/livestock/web/api/v1/livestock_type/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 337, "body_response": "{\"id\":1,\"name\":\"2\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:37:54.358753", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "12": {"endpoint": "/livestock/web/api/v1/livestock_type/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 329, "body_response": "{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:37:59.053979", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "13": {"endpoint": "/livestock/web/api/v1/livestock_type/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 271, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:48:52.800785", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "14": {"endpoint": "/livestock/web/api/v1/livestock_use_type/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 337, "body_response": "{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:54:54.867935", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "15": {"endpoint": "/livestock/web/api/v1/livestock_use_type/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 308, "body_response": "{\"id\":1,\"name\":\"1\u0634\u06cc\u0631\u06cc\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:55:27.720915", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "16": {"endpoint": "/livestock/web/api/v1/livestock_use_type/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 280, "body_response": "{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:55:35.257357", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "17": {"endpoint": "/livestock/web/api/v1/livestock_use_type/1/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 253, "body_response": "{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:56:22.583811", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "18": {"endpoint": "/livestock/web/api/v1/livestock_use_type/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 286, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 11:56:27.092421", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "19": {"endpoint": "/tag/web/api/v1/tag/", "response_code": 404, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 31, "body_response": "\n\n\n \n Page not found at /tag/web/api/v1/tag/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/tag/web/api/v1/tag/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n livestock/\n \n \n
  16. \n \n
  17. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/$\n [name='livestock-list']\n \n
  18. \n \n
  19. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-list']\n \n
  20. \n \n
  21. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)/$\n [name='livestock-detail']\n \n
  22. \n \n
  23. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-detail']\n \n
  24. \n \n
  25. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/$\n [name='livestock_type-list']\n \n
  26. \n \n
  27. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-list']\n \n
  28. \n \n
  29. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/$\n [name='livestock_type-detail']\n \n
  30. \n \n
  31. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-detail']\n \n
  32. \n \n
  33. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_type-delete']\n \n
  34. \n \n
  35. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-delete']\n \n
  36. \n \n
  37. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_type-trash']\n \n
  38. \n \n
  39. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-trash']\n \n
  40. \n \n
  41. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/$\n [name='livestock_use_type-list']\n \n
  42. \n \n
  43. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-list']\n \n
  44. \n \n
  45. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/$\n [name='livestock_use_type-detail']\n \n
  46. \n \n
  47. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-detail']\n \n
  48. \n \n
  49. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_use_type-delete']\n \n
  50. \n \n
  51. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-delete']\n \n
  52. \n \n
  53. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_use_type-trash']\n \n
  54. \n \n
  55. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-trash']\n \n
  56. \n \n
  57. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/$\n [name='livestock_species-list']\n \n
  58. \n \n
  59. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-list']\n \n
  60. \n \n
  61. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/$\n [name='livestock_species-detail']\n \n
  62. \n \n
  63. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-detail']\n \n
  64. \n \n
  65. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete/$\n [name='livestock_species-delete']\n \n
  66. \n \n
  67. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-delete']\n \n
  68. \n \n
  69. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash/$\n [name='livestock_species-trash']\n \n
  70. \n \n
  71. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-trash']\n \n
  72. \n \n
  73. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n \n [name='api-root']\n \n
  74. \n \n
  75. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  76. \n \n
  77. \n \n search/\n \n \n
  78. \n \n
  79. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  80. \n \n
\n

\n \n The current path, tag/web/api/v1/tag/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:34:24.332883"}, "20": {"endpoint": "/tag/web/api/v1/tag/", "response_code": 404, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 13, "body_response": "\n\n\n \n Page not found at /tag/web/api/v1/tag/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/tag/web/api/v1/tag/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n livestock/\n \n \n
  16. \n \n
  17. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/$\n [name='livestock-list']\n \n
  18. \n \n
  19. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-list']\n \n
  20. \n \n
  21. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)/$\n [name='livestock-detail']\n \n
  22. \n \n
  23. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-detail']\n \n
  24. \n \n
  25. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/$\n [name='livestock_type-list']\n \n
  26. \n \n
  27. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-list']\n \n
  28. \n \n
  29. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/$\n [name='livestock_type-detail']\n \n
  30. \n \n
  31. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-detail']\n \n
  32. \n \n
  33. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_type-delete']\n \n
  34. \n \n
  35. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-delete']\n \n
  36. \n \n
  37. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_type-trash']\n \n
  38. \n \n
  39. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-trash']\n \n
  40. \n \n
  41. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/$\n [name='livestock_use_type-list']\n \n
  42. \n \n
  43. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-list']\n \n
  44. \n \n
  45. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/$\n [name='livestock_use_type-detail']\n \n
  46. \n \n
  47. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-detail']\n \n
  48. \n \n
  49. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_use_type-delete']\n \n
  50. \n \n
  51. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-delete']\n \n
  52. \n \n
  53. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_use_type-trash']\n \n
  54. \n \n
  55. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-trash']\n \n
  56. \n \n
  57. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/$\n [name='livestock_species-list']\n \n
  58. \n \n
  59. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-list']\n \n
  60. \n \n
  61. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/$\n [name='livestock_species-detail']\n \n
  62. \n \n
  63. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-detail']\n \n
  64. \n \n
  65. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete/$\n [name='livestock_species-delete']\n \n
  66. \n \n
  67. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-delete']\n \n
  68. \n \n
  69. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash/$\n [name='livestock_species-trash']\n \n
  70. \n \n
  71. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-trash']\n \n
  72. \n \n
  73. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n \n [name='api-root']\n \n
  74. \n \n
  75. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  76. \n \n
  77. \n \n search/\n \n \n
  78. \n \n
  79. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  80. \n \n
\n

\n \n The current path, tag/web/api/v1/tag/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:35:36.172718"}, "21": {"endpoint": "/tag/web/api/v1/tag/", "response_code": 404, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 14, "body_response": "\n\n\n \n Page not found at /tag/web/api/v1/tag/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/tag/web/api/v1/tag/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n livestock/\n \n \n
  16. \n \n
  17. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/$\n [name='livestock-list']\n \n
  18. \n \n
  19. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-list']\n \n
  20. \n \n
  21. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)/$\n [name='livestock-detail']\n \n
  22. \n \n
  23. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock-detail']\n \n
  24. \n \n
  25. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/$\n [name='livestock_type-list']\n \n
  26. \n \n
  27. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-list']\n \n
  28. \n \n
  29. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/$\n [name='livestock_type-detail']\n \n
  30. \n \n
  31. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-detail']\n \n
  32. \n \n
  33. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_type-delete']\n \n
  34. \n \n
  35. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-delete']\n \n
  36. \n \n
  37. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_type-trash']\n \n
  38. \n \n
  39. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_type-trash']\n \n
  40. \n \n
  41. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/$\n [name='livestock_use_type-list']\n \n
  42. \n \n
  43. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-list']\n \n
  44. \n \n
  45. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/$\n [name='livestock_use_type-detail']\n \n
  46. \n \n
  47. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-detail']\n \n
  48. \n \n
  49. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete/$\n [name='livestock_use_type-delete']\n \n
  50. \n \n
  51. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-delete']\n \n
  52. \n \n
  53. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash/$\n [name='livestock_use_type-trash']\n \n
  54. \n \n
  55. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_use_type/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_use_type-trash']\n \n
  56. \n \n
  57. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/$\n [name='livestock_species-list']\n \n
  58. \n \n
  59. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-list']\n \n
  60. \n \n
  61. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/$\n [name='livestock_species-detail']\n \n
  62. \n \n
  63. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-detail']\n \n
  64. \n \n
  65. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete/$\n [name='livestock_species-delete']\n \n
  66. \n \n
  67. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/delete\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-delete']\n \n
  68. \n \n
  69. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash/$\n [name='livestock_species-trash']\n \n
  70. \n \n
  71. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n ^livestock_species/(?P<pk>[^/.]+)/trash\\.(?P<format>[a-z0-9]+)/?$\n [name='livestock_species-trash']\n \n
  72. \n \n
  73. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n \n [name='api-root']\n \n
  74. \n \n
  75. \n \n tag/\n \n \n web/api/\n \n \n v1/\n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  76. \n \n
  77. \n \n search/\n \n \n
  78. \n \n
  79. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  80. \n \n
\n

\n \n The current path, tag/web/api/v1/tag/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:36:18.386056"}, "22": {"endpoint": "/tag/web/api/v1/tag/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 299, "body_response": "{\"organization\":[\"Invalid pk \\\"8\\\" - object does not exist.\"]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:37:03.759397", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "23": {"endpoint": "/tag/web/api/v1/tag/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 383, "body_response": "{\"id\":1,\"create_date\":\"2025-05-24T09:07:39.682557Z\",\"modify_date\":\"2025-05-24T09:07:39.682557Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"code\":\"256666\",\"status\":\"active\",\"created_by\":2,\"modified_by\":2,\"province\":1,\"city\":1,\"organization\":1}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:37:39.745368", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "24": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:42:00.918202"}, "25": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"birthdate\":[\"Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z].\"]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:42:08.159894", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "26": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 608, "body_response": "\n\n\n \n \n IntegrityError\n at /livestock/web/api/v1/livestock/\n \n \n \n \n\n\n
\n

IntegrityError\n at /livestock/web/api/v1/livestock/

\n
null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/livestock/web/api/v1/livestock/
Django Version:5.0
Exception Type:IntegrityError
Exception Value:
null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute
Raised during:apps.livestock.web.api.v1.api.LiveStockViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sat, 24 May 2025 09:12:29 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>})
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\nDETAIL: Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\n) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002D97EE33080>>
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function LiveStockViewSet at 0x000002D9027FA700>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002D97EE33080>
    wrapped_callback
    <function LiveStockViewSet at 0x000002D9027FA700>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock/'>
    view_func
    <function LiveStockViewSet at 0x000002D9027FA660>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.livestock.web.api.v1.api.LiveStockViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>>
    initkwargs
    {'basename': 'livestock', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/livestock/web/api/v1/livestock/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method CreateModelMixin.create of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>,\n 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>}
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    exception_handler
    <function exception_handler at 0x000002D9024BDE40>
    response
    None
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method CreateModelMixin.create of <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 19, in create\n \n\n \n
    \n \n
      \n \n
    1. class CreateModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     Create a model instance.
    6. \n \n
    7.     """
    8. \n \n
    9.     def create(self, request, *args, **kwargs):
    10. \n \n
    11.         serializer = self.get_serializer(data=request.data)
    12. \n \n
    13.         serializer.is_valid(raise_exception=True)
    14. \n \n
    \n \n
      \n
    1.         self.perform_create(serializer)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         headers = self.get_success_headers(serializer.data)
    2. \n \n
    3.         return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)
    4. \n \n
    5. \n \n
    6.     def perform_create(self, serializer):
    7. \n \n
    8.         serializer.save()
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    serializer
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'herd': 1, 'tag': 1, 'type': 1, 'use_type': 1, 'weight_type': 'L', 'species': 1, 'birthdate': '2025-05-13 08:56:51.644360 +00:00', 'gender': 2}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 24, in perform_create\n \n\n \n
    \n \n
      \n \n
    1.         serializer = self.get_serializer(data=request.data)
    2. \n \n
    3.         serializer.is_valid(raise_exception=True)
    4. \n \n
    5.         self.perform_create(serializer)
    6. \n \n
    7.         headers = self.get_success_headers(serializer.data)
    8. \n \n
    9.         return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)
    10. \n \n
    11. \n \n
    12.     def perform_create(self, serializer):
    13. \n \n
    \n \n
      \n
    1.         serializer.save()\n            ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_success_headers(self, data):
    3. \n \n
    4.         try:
    5. \n \n
    6.             return {'Location': str(data[api_settings.URL_FIELD_NAME])}
    7. \n \n
    8.         except (TypeError, KeyError):
    9. \n \n
    10.             return {}
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <apps.livestock.web.api.v1.api.LiveStockViewSet object at 0x000002D902B82C90>
    serializer
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'herd': 1, 'tag': 1, 'type': 1, 'use_type': 1, 'weight_type': 'L', 'species': 1, 'birthdate': '2025-05-13 08:56:51.644360 +00:00', 'gender': 2}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 210, in save\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if self.instance is not None:
    3. \n \n
    4.             self.instance = self.update(self.instance, validated_data)
    5. \n \n
    6.             assert self.instance is not None, (
    7. \n \n
    8.                 '`update()` did not return an object instance.'
    9. \n \n
    10.             )
    11. \n \n
    12.         else:
    13. \n \n
    \n \n
      \n
    1.             self.instance = self.create(validated_data)\n                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             assert self.instance is not None, (
    2. \n \n
    3.                 '`create()` did not return an object instance.'
    4. \n \n
    5.             )
    6. \n \n
    7. \n \n
    8.         return self.instance
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {}
    self
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'herd': 1, 'tag': 1, 'type': 1, 'use_type': 1, 'weight_type': 'L', 'species': 1, 'birthdate': '2025-05-13 08:56:51.644360 +00:00', 'gender': 2}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    validated_data
    {'birthdate': datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 'gender': 2,\n 'herd': <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>,\n 'species': <LiveStockSpecies: \u0644\u0631\u06cc>,\n 'tag': <Tag: 256666>,\n 'type': <LiveStockType: \u06af\u0648\u0633\u0641\u0646\u062f>,\n 'use_type': <LiveStockUseType: \u0634\u06cc\u0631\u06cc>,\n 'weight_type': 'L'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 991, in create\n \n\n \n
    \n \n
      \n \n
    1.         info = model_meta.get_field_info(ModelClass)
    2. \n \n
    3.         many_to_many = {}
    4. \n \n
    5.         for field_name, relation_info in info.relations.items():
    6. \n \n
    7.             if relation_info.to_many and (field_name in validated_data):
    8. \n \n
    9.                 many_to_many[field_name] = validated_data.pop(field_name)
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             instance = ModelClass._default_manager.create(**validated_data)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TypeError:
    2. \n \n
    3.             tb = traceback.format_exc()
    4. \n \n
    5.             msg = (
    6. \n \n
    7.                 'Got a `TypeError` when calling `%s.%s.create()`. '
    8. \n \n
    9.                 'This may be because you have a writable field on the '
    10. \n \n
    11.                 'serializer class that is not a valid argument to '
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ModelClass
    <class 'apps.livestock.models.LiveStock'>
    field_name
    'species'
    info
    FieldInfo(pk=<django.db.models.fields.BigAutoField: id>, fields={'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'weight_type': <django.db.models.fields.CharField: weight_type>, 'birthdate': <django.db.models.fields.DateTimeField: birthdate>, 'gender': <django.db.models.fields.IntegerField: gender>}, forward_relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'herd': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: herd>, related_model=<class 'apps.herd.models.Herd'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'tag': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: tag>, related_model=<class 'apps.tag.models.Tag'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: type>, related_model=<class 'apps.livestock.models.LiveStockType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'use_type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: use_type>, related_model=<class 'apps.livestock.models.LiveStockUseType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'species': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: species>, related_model=<class 'apps.livestock.models.LiveStockSpecies'>, to_many=False, to_field='id', has_through_model=False, reverse=False)}, reverse_relations={}, fields_and_pk={'pk': <django.db.models.fields.BigAutoField: id>, 'id': <django.db.models.fields.BigAutoField: id>, 'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'weight_type': <django.db.models.fields.CharField: weight_type>, 'birthdate': <django.db.models.fields.DateTimeField: birthdate>, 'gender': <django.db.models.fields.IntegerField: gender>}, relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'herd': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: herd>, related_model=<class 'apps.herd.models.Herd'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'tag': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: tag>, related_model=<class 'apps.tag.models.Tag'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: type>, related_model=<class 'apps.livestock.models.LiveStockType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'use_type': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: use_type>, related_model=<class 'apps.livestock.models.LiveStockUseType'>, to_many=False, to_field='id', has_through_model=False, reverse=False), '\u2026 <trimmed 4321 bytes string>
    many_to_many
    {}
    relation_info
    RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: species>, related_model=<class 'apps.livestock.models.LiveStockSpecies'>, to_many=False, to_field='id', has_through_model=False, reverse=False)
    self
    LiveStockSerializer(context={'request': <rest_framework.request.Request: POST '/livestock/web/api/v1/livestock/'>, 'format': None, 'view': <apps.livestock.web.api.v1.api.LiveStockViewSet object>}, data={'herd': 1, 'tag': 1, 'type': 1, 'use_type': 1, 'weight_type': 'L', 'species': 1, 'birthdate': '2025-05-13 08:56:51.644360 +00:00', 'gender': 2}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    weight_type = ChoiceField(choices=[('L', 'Light'), ('H', 'Heavy')], required=False)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    gender = ChoiceField(choices=[(1, 'male'), (2, 'female')], required=False, validators=[<django.core.validators.MinValueValidator object>, <django.core.validators.MaxValueValidator object>])\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    herd = PrimaryKeyRelatedField(allow_null=True, queryset=Herd.objects.all(), required=False)\n    tag = PrimaryKeyRelatedField(allow_null=True, queryset=Tag.objects.all(), required=False)\n    type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockType.objects.all(), required=False)\n    use_type = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockUseType.objects.all(), required=False)\n    species = PrimaryKeyRelatedField(allow_null=True, queryset=LiveStockSpecies.objects.all(), required=False)
    validated_data
    {'birthdate': datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 'gender': 2,\n 'herd': <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>,\n 'species': <LiveStockSpecies: \u0644\u0631\u06cc>,\n 'tag': <Tag: 256666>,\n 'type': <LiveStockType: \u06af\u0648\u0633\u0641\u0646\u062f>,\n 'use_type': <LiveStockUseType: \u0634\u06cc\u0631\u06cc>,\n 'weight_type': 'L'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'birthdate': datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 'gender': 2,\n 'herd': <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>,\n 'species': <LiveStockSpecies: \u0644\u0631\u06cc>,\n 'tag': <Tag: 256666>,\n 'type': <LiveStockType: \u06af\u0648\u0633\u0641\u0646\u062f>,\n 'use_type': <LiveStockUseType: \u0634\u06cc\u0631\u06cc>,\n 'weight_type': 'L'}
    name
    'create'
    self
    <django.db.models.manager.Manager object at 0x000002D902811280>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 677, in create\n \n\n \n
    \n \n
      \n \n
    1.             raise ValueError(
    2. \n \n
    3.                 "The following fields do not exist in this model: %s"
    4. \n \n
    5.                 % ", ".join(reverse_one_to_one_fields)
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.         obj = self.model(**kwargs)
    11. \n \n
    12.         self._for_write = True
    13. \n \n
    \n \n
      \n
    1.         obj.save(force_insert=True, using=self.db)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return obj
    2. \n \n
    3. \n \n
    4.     async def acreate(self, **kwargs):
    5. \n \n
    6.         return await sync_to_async(self.create)(**kwargs)
    7. \n \n
    8. \n \n
    9.     def _prepare_for_bulk_create(self, objs):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {'birthdate': datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 'gender': 2,\n 'herd': <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>,\n 'species': <LiveStockSpecies: \u0644\u0631\u06cc>,\n 'tag': <Tag: 256666>,\n 'type': <LiveStockType: \u06af\u0648\u0633\u0641\u0646\u062f>,\n 'use_type': <LiveStockUseType: \u0634\u06cc\u0631\u06cc>,\n 'weight_type': 'L'}
    obj
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    reverse_one_to_one_fields
    frozenset()
    self
    <QuerySet []>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\livestock\\models.py, line 87, in save\n \n\n \n
    \n \n
      \n \n
    1.     )
    2. \n \n
    3.     gender = models.IntegerField(choices=gender_type, default=1)
    4. \n \n
    5. \n \n
    6.     def __str__(self):
    7. \n \n
    8.         return f'{self.type.name}-{self.species.name}'
    9. \n \n
    10. \n \n
    11.     def save(self, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         super(LiveStock, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.livestock.models.LiveStock'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\models.py, line 37, in save\n \n\n \n
    \n \n
      \n \n
    1.     def save(self, *args, **kwargs):
    2. \n \n
    3.         user = get_current_user()  # get user object
    4. \n \n
    5.         self.modified_by = user
    6. \n \n
    7.         if not self.creator_info:
    8. \n \n
    9.             self.created_by = user
    10. \n \n
    11.             self.creator_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    12. \n \n
    13.         self.modifier_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    14. \n \n
    \n \n
      \n
    1.         super(BaseModel, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class MobileTest(BaseModel):
    4. \n \n
    5.     latitude = models.DecimalField(max_digits=22, decimal_places=16)
    6. \n \n
    7.     longitude = models.DecimalField(max_digits=22, decimal_places=16)
    8. \n \n
    9.     count = models.IntegerField(default=0)
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.core.models.BaseModel'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    user
    <User: moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 814, in save\n \n\n \n
    \n \n
      \n \n
    1.             for field in self._meta.concrete_fields:
    2. \n \n
    3.                 if not field.primary_key and not hasattr(field, "through"):
    4. \n \n
    5.                     field_names.add(field.attname)
    6. \n \n
    7.             loaded_fields = field_names.difference(deferred_fields)
    8. \n \n
    9.             if loaded_fields:
    10. \n \n
    11.                 update_fields = frozenset(loaded_fields)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         self.save_base(\n             ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             using=using,
    2. \n \n
    3.             force_insert=force_insert,
    4. \n \n
    5.             force_update=force_update,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.         )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    deferred_fields
    set()
    force_insert
    True
    force_update
    False
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 901, in save_base\n \n\n \n
    \n \n
      \n \n
    1.             parent_inserted = False
    2. \n \n
    3.             if not raw:
    4. \n \n
    5.                 # Validate force insert only when parents are inserted.
    6. \n \n
    7.                 force_insert = self._validate_force_insert(force_insert)
    8. \n \n
    9.                 parent_inserted = self._save_parents(
    10. \n \n
    11.                     cls, using, update_fields, force_insert
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             updated = self._save_table(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 raw,
    2. \n \n
    3.                 cls,
    4. \n \n
    5.                 force_insert or parent_inserted,
    6. \n \n
    7.                 force_update,
    8. \n \n
    9.                 using,
    10. \n \n
    11.                 update_fields,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.livestock.models.LiveStock'>
    context_manager
    <contextlib._GeneratorContextManager object at 0x000002D902B809B0>
    force_insert
    (<class 'apps.livestock.models.LiveStock'>,)
    force_update
    False
    meta
    <Options for LiveStock>
    origin
    <class 'apps.livestock.models.LiveStock'>
    parent_inserted
    False
    raw
    False
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1059, in _save_table\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             fields = [
    4. \n \n
    5.                 f
    6. \n \n
    7.                 for f in meta.local_concrete_fields
    8. \n \n
    9.                 if not f.generated and (pk_set or f is not meta.auto_field)
    10. \n \n
    11.             ]
    12. \n \n
    13.             returning_fields = meta.db_returning_fields
    14. \n \n
    \n \n
      \n
    1.             results = self._do_insert(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 cls._base_manager, using, fields, returning_fields, raw
    2. \n \n
    3.             )
    4. \n \n
    5.             if results:
    6. \n \n
    7.                 for value, field in zip(results[0], returning_fields):
    8. \n \n
    9.                     setattr(self, field.attname, value)
    10. \n \n
    11.         return updated
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.livestock.models.LiveStock'>
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    force_insert
    (<class 'apps.livestock.models.LiveStock'>,)
    force_update
    False
    meta
    <Options for LiveStock>
    non_pks
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    pk_set
    False
    pk_val
    None
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    update_fields
    None
    updated
    False
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1100, in _do_insert\n \n\n \n
    \n \n
      \n \n
    1.         return filtered._update(values) > 0
    2. \n \n
    3. \n \n
    4.     def _do_insert(self, manager, using, fields, returning_fields, raw):
    5. \n \n
    6.         """
    7. \n \n
    8.         Do an INSERT. If returning_fields is defined then this method should
    9. \n \n
    10.         return the newly created data for the model.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         return manager._insert(\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             [self],
    2. \n \n
    3.             fields=fields,
    4. \n \n
    5.             returning_fields=returning_fields,
    6. \n \n
    7.             using=using,
    8. \n \n
    9.             raw=raw,
    10. \n \n
    11.         )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    manager
    <django.db.models.manager.Manager object at 0x000002D902B80B60>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ([<LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>],)
    kwargs
    {'fields': [<django.db.models.fields.DateTimeField: create_date>,\n            <django.db.models.fields.DateTimeField: modify_date>,\n            <django.db.models.fields.related.ForeignKey: created_by>,\n            <django.db.models.fields.related.ForeignKey: modified_by>,\n            <django.db.models.fields.CharField: creator_info>,\n            <django.db.models.fields.CharField: modifier_info>,\n            <django.db.models.fields.BooleanField: trash>,\n            <django.db.models.fields.related.ForeignKey: herd>,\n            <django.db.models.fields.related.ForeignKey: tag>,\n            <django.db.models.fields.related.ForeignKey: type>,\n            <django.db.models.fields.related.ForeignKey: use_type>,\n            <django.db.models.fields.CharField: weight_type>,\n            <django.db.models.fields.related.ForeignKey: species>,\n            <django.db.models.fields.DateTimeField: birthdate>,\n            <django.db.models.fields.IntegerField: gender>],\n 'raw': False,\n 'returning_fields': [<django.db.models.fields.BigAutoField: id>],\n 'using': 'default'}
    name
    '_insert'
    self
    <django.db.models.manager.Manager object at 0x000002D902B80B60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 1845, in _insert\n \n\n \n
    \n \n
      \n \n
    1.         query = sql.InsertQuery(
    2. \n \n
    3.             self.model,
    4. \n \n
    5.             on_conflict=on_conflict,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.             unique_fields=unique_fields,
    10. \n \n
    11.         )
    12. \n \n
    13.         query.insert_values(fields, objs, raw=raw)
    14. \n \n
    \n \n
      \n
    1.         return query.get_compiler(using=using).execute_sql(returning_fields)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _insert.alters_data = True
    3. \n \n
    4.     _insert.queryset_only = False
    5. \n \n
    6. \n \n
    7.     def _batched_insert(
    8. \n \n
    9.         self,
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: herd>,\n <django.db.models.fields.related.ForeignKey: tag>,\n <django.db.models.fields.related.ForeignKey: type>,\n <django.db.models.fields.related.ForeignKey: use_type>,\n <django.db.models.fields.CharField: weight_type>,\n <django.db.models.fields.related.ForeignKey: species>,\n <django.db.models.fields.DateTimeField: birthdate>,\n <django.db.models.fields.IntegerField: gender>]
    objs
    [<LiveStock: \u06af\u0648\u0633\u0641\u0646\u062f-\u0644\u0631\u06cc>]
    on_conflict
    None
    query
    <django.db.models.sql.subqueries.InsertQuery object at 0x000002D902B80710>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <QuerySet []>
    unique_fields
    None
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\sql\\compiler.py, line 1822, in execute_sql\n \n\n \n
    \n \n
      \n \n
    1.             and len(self.query.objs) != 1
    2. \n \n
    3.             and not self.connection.features.can_return_rows_from_bulk_insert
    4. \n \n
    5.         )
    6. \n \n
    7.         opts = self.query.get_meta()
    8. \n \n
    9.         self.returning_fields = returning_fields
    10. \n \n
    11.         with self.connection.cursor() as cursor:
    12. \n \n
    13.             for sql, params in self.as_sql():
    14. \n \n
    \n \n
      \n
    1.                 cursor.execute(sql, params)\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if not self.returning_fields:
    2. \n \n
    3.                 return []
    4. \n \n
    5.             if (
    6. \n \n
    7.                 self.connection.features.can_return_rows_from_bulk_insert
    8. \n \n
    9.                 and len(self.query.objs) > 1
    10. \n \n
    11.             ):
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cursor
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    opts
    <Options for LiveStock>
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <SQLInsertCompiler model=LiveStock connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 122, in execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class CursorDebugWrapper(CursorWrapper):
    4. \n \n
    5.     # XXX callproc isn't instrumented at this time.
    6. \n \n
    7. \n \n
    8.     def execute(self, sql, params=None):
    9. \n \n
    10.         with self.debug_sql(sql, params, use_last_executed_query=True):
    11. \n \n
    \n \n
      \n
    1.             return super().execute(sql, params)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def executemany(self, sql, param_list):
    3. \n \n
    4.         with self.debug_sql(sql, param_list, many=True):
    5. \n \n
    6.             return super().executemany(sql, param_list)
    7. \n \n
    8. \n \n
    9.     @contextmanager
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'django.db.backends.utils.CursorDebugWrapper'>
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 79, in execute\n \n\n \n
    \n \n
      \n \n
    1.             elif kparams is None:
    2. \n \n
    3.                 return self.cursor.callproc(procname, params)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 params = params or ()
    8. \n \n
    9.                 return self.cursor.callproc(procname, params, kparams)
    10. \n \n
    11. \n \n
    12.     def execute(self, sql, params=None):
    13. \n \n
    \n \n
      \n
    1.         return self._execute_with_wrappers(\n                   
      \u2026
    2. \n
    \n \n
      \n \n
    1.             sql, params, many=False, executor=self._execute
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def executemany(self, sql, param_list):
    7. \n \n
    8.         return self._execute_with_wrappers(
    9. \n \n
    10.             sql, param_list, many=True, executor=self._executemany
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 92, in _execute_with_wrappers\n \n\n \n
    \n \n
      \n \n
    1.             sql, param_list, many=True, executor=self._executemany
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def _execute_with_wrappers(self, sql, params, many, executor):
    7. \n \n
    8.         context = {"connection": self.db, "cursor": self}
    9. \n \n
    10.         for wrapper in reversed(self.db.execute_wrappers):
    11. \n \n
    12.             executor = functools.partial(wrapper, executor)
    13. \n \n
    \n \n
      \n
    1.         return executor(sql, params, many, context)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>}
    executor
    <bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>>
    many
    False
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 100, in _execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    12.         self.db.validate_no_broken_transaction()
    13. \n \n
    \n \n
      \n
    1.         with self.db.wrap_database_errors:\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if params is None:
    2. \n \n
    3.                 # params default might be backend specific.
    4. \n \n
    5.                 return self.cursor.execute(sql)
    6. \n \n
    7.             else:
    8. \n \n
    9.                 return self.cursor.execute(sql, params)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>})
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\utils.py, line 91, in __exit__\n \n\n \n
    \n \n
      \n \n
    1.             db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
    2. \n \n
    3.             if issubclass(exc_type, db_exc_type):
    4. \n \n
    5.                 dj_exc_value = dj_exc_type(*exc_value.args)
    6. \n \n
    7.                 # Only set the 'errors_occurred' flag for errors that may make
    8. \n \n
    9.                 # the connection unusable.
    10. \n \n
    11.                 if dj_exc_type not in (DataError, IntegrityError):
    12. \n \n
    13.                     self.wrapper.errors_occurred = True
    14. \n \n
    \n \n
      \n
    1.                 raise dj_exc_value.with_traceback(traceback) from exc_value\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __call__(self, func):
    3. \n \n
    4.         # Note that we are intentionally not using @wraps here for performance
    5. \n \n
    6.         # reasons. Refs #21109.
    7. \n \n
    8.         def inner(*args, **kwargs):
    9. \n \n
    10.             with self:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    db_exc_type
    <class 'psycopg2.IntegrityError'>
    dj_exc_type
    <class 'django.db.utils.IntegrityError'>
    dj_exc_value
    IntegrityError('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    exc_type
    <class 'psycopg2.errors.NotNullViolation'>
    exc_value
    NotNullViolation('null value in column "age_by_day" of relation "livestock_livestock" violates not-null constraint\\nDETAIL:  Failing row contains (2, 2025-05-24 09:12:29.157289+00, 2025-05-24 09:12:29.157289+00, f, 2025-05-13 08:56:51.64436+00, 2, 1, 1, null, null, null, L, 1, 1, 1, 2, 2, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598, \u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598).\\n')
    self
    <django.db.utils.DatabaseErrorWrapper object at 0x000002D902C90350>
    traceback
    <traceback object at 0x000002D902B4D580>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>})
    params
    (datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 24, 9, 12, 29, 157289, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 1,\n 1,\n 1,\n 1,\n 'L',\n 1,\n datetime.datetime(2025, 5, 13, 8, 56, 51, 644360, tzinfo=zoneinfo.ZoneInfo(key='UTC')),\n 2)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000002D902B83CB0>
    sql
    ('INSERT INTO "livestock_livestock" ("create_date", "modify_date", '\n '"created_by_id", "modified_by_id", "creator_info", "modifier_info", "trash", '\n '"herd_id", "tag_id", "type_id", "use_type_id", "weight_type", "species_id", '\n '"birthdate", "gender") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s) RETURNING "livestock_livestock"."id"')
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'187'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_9236
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ4MTUwNTc5LCJpYXQiOjE3NDgwNjQxNzksImp0aSI6ImY1NjA3MGQ5M2Q3ZTQ2OWY5YjUzZTBiNWU0Yzg4ZGI4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.FKrYU38zStPGnrzgoDzvAd5EAiCDuoAFrHPXncAknok')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.44.0'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/livestock/web/api/v1/livestock/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'47718519-d082-4e63-ad0c-0703ee64fd3f'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002D902954C10>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:42:29.332824", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "27": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 475, "body_response": "{\"id\":3,\"create_date\":\"2025-05-24T09:13:20.509502Z\",\"modify_date\":\"2025-05-24T09:13:20.509502Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"weight_type\":\"L\",\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2,\"created_by\":2,\"modified_by\":2,\"herd\":1,\"tag\":1,\"type\":1,\"use_type\":1,\"species\":1}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:43:20.556585", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "28": {"endpoint": "/livestock/web/api/v1/livestock/1/", "response_code": 404, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 277, "body_response": "{\"detail\":\"No LiveStock matches the given query.\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:43:48.972673", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "29": {"endpoint": "/livestock/web/api/v1/livestock/1/", "response_code": 404, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 269, "body_response": "{\"detail\":\"No LiveStock matches the given query.\"}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:43:56.610305", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "30": {"endpoint": "/livestock/web/api/v1/livestock/3/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 470, "body_response": "{\"id\":3,\"create_date\":\"2025-05-24T09:13:20.509502Z\",\"modify_date\":\"2025-05-24T09:14:18.011228Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"weight_type\":\"L\",\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2,\"created_by\":2,\"modified_by\":2,\"herd\":1,\"tag\":1,\"type\":1,\"use_type\":1,\"species\":1}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 12:44:18.082549", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "31": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1214, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"create_date\":\"2025-05-24T09:13:20.509502Z\",\"modify_date\":\"2025-05-24T09:14:18.011228Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"weight_type\":\"L\",\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2,\"created_by\":2,\"modified_by\":2,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"create_date\":\"2025-05-24T09:07:39.682557Z\",\"modify_date\":\"2025-05-24T09:07:39.682557Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"code\":\"256666\",\"status\":\"active\",\"created_by\":2,\"modified_by\":2,\"province\":1,\"city\":1,\"organization\":1},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"}}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 13:50:57.903490", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "32": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1413, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"create_date\":\"2025-05-24T09:13:20.509502Z\",\"modify_date\":\"2025-05-24T09:14:18.011228Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"weight_type\":\"L\",\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2,\"created_by\":{\"id\":2,\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"last_login\":null,\"is_superuser\":false,\"username\":\"moji\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"email\":\"moji@gmail.com\",\"is_staff\":true,\"is_active\":true,\"date_joined\":\"2025-05-05T07:56:07.933223Z\",\"create_date\":\"2025-05-05T07:56:08.109571Z\",\"modify_date\":\"2025-05-05T07:56:08.109571Z\",\"creator_info\":null,\"modifier_info\":null,\"trash\":false,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"otp_status\":false,\"is_herd_owner\":false,\"created_by\":null,\"modified_by\":null,\"province\":null,\"city\":null,\"groups\":[],\"user_permissions\":[]},\"modified_by\":{\"id\":2,\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"last_login\":null,\"is_superuser\":false,\"username\":\"moji\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"email\":\"moji@gmail.com\",\"is_staff\":true,\"is_active\":true,\"date_joined\":\"2025-05-05T07:56:07.933223Z\",\"create_date\":\"2025-05-05T07:56:08.109571Z\",\"modify_date\":\"2025-05-05T07:56:08.109571Z\",\"creator_info\":null,\"modifier_info\":null,\"trash\":false,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"otp_status\":false,\"is_herd_owner\":false,\"created_by\":null,\"modified_by\":null,\"province\":null,\"city\":null,\"groups\":[],\"user_permissions\":[]},\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"create_date\":\"2025-05-24T09:07:39.682557Z\",\"modify_date\":\"2025-05-24T09:07:39.682557Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"code\":\"256666\",\"status\":\"active\",\"created_by\":2,\"modified_by\":2,\"province\":1,\"city\":1,\"organization\":1},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"}}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 13:51:19.268267", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "33": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1329, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"code\":\"256666\",\"province\":1,\"city\":1,\"organization\":1,\"status\":\"active\"},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"weight_type\":\"L\",\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:11:47.378456", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "34": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1341, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"code\":\"256666\",\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"organization\":1,\"status\":\"active\"},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"weight_type\":\"L\",\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:15:22.145920", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "35": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1460, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"code\":\"256666\",\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"status\":\"active\"},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"weight_type\":\"L\",\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:16:30.997973", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "36": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1440, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"code\":\"256666\",\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"status\":\"active\"},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"weight_type\":\"L\",\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:16:53.392414", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "37": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1503, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"id\":3,\"herd\":{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},\"tag\":{\"id\":1,\"code\":\"256666\",\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"status\":\"active\"},\"type\":{\"id\":1,\"name\":\"\u06af\u0648\u0633\u0641\u0646\u062f\"},\"use_type\":{\"id\":1,\"name\":\"\u0634\u06cc\u0631\u06cc\"},\"weight_type\":\"L\",\"species\":{\"id\":1,\"name\":\"\u0644\u0631\u06cc\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}]}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:16:57.008935", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "38": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 334, "body_response": "{\"id\":4,\"herd\":{\"creator_info\":\"\",\"modifier_info\":\"\",\"trash\":false,\"name\":\"\",\"photo\":\"\",\"code\":\"\",\"heavy_livestock_number\":null,\"light_livestock_number\":null,\"heavy_livestock_quota\":null,\"light_livestock_quota\":null,\"postal\":\"\",\"institution\":\"\",\"epidemiologic\":\"\",\"latitude\":null,\"longitude\":null,\"unit_unique_id\":\"\",\"activity\":null,\"activity_state\":false,\"operating_license_state\":false,\"capacity\":null,\"created_by\":null,\"modified_by\":null,\"owner\":null,\"cooperative\":null,\"province\":null,\"city\":null,\"contractor\":null},\"tag\":{\"code\":\"\",\"province\":null,\"city\":null,\"organization\":null,\"status\":\"\"},\"type\":{\"name\":\"\"},\"use_type\":{\"name\":\"\"},\"weight_type\":\"L\",\"species\":{\"name\":\"\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:53:13.544607", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "39": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 362, "body_response": "{\"id\":5,\"herd\":{\"creator_info\":\"\",\"modifier_info\":\"\",\"trash\":false,\"name\":\"\",\"photo\":\"\",\"code\":\"\",\"heavy_livestock_number\":null,\"light_livestock_number\":null,\"heavy_livestock_quota\":null,\"light_livestock_quota\":null,\"postal\":\"\",\"institution\":\"\",\"epidemiologic\":\"\",\"latitude\":null,\"longitude\":null,\"unit_unique_id\":\"\",\"activity\":null,\"activity_state\":false,\"operating_license_state\":false,\"capacity\":null,\"created_by\":null,\"modified_by\":null,\"owner\":null,\"cooperative\":null,\"province\":null,\"city\":null,\"contractor\":null},\"tag\":{\"code\":\"\",\"province\":null,\"city\":null,\"organization\":null,\"status\":\"\"},\"type\":{\"name\":\"\"},\"use_type\":{\"name\":\"\"},\"weight_type\":\"L\",\"species\":{\"name\":\"\"},\"birthdate\":\"2025-05-13T08:56:51.644360Z\",\"gender\":2}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:53:46.653831", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "40": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 316, "body_response": "{\"id\":6,\"herd\":{\"creator_info\":\"\",\"modifier_info\":\"\",\"trash\":false,\"name\":\"\",\"photo\":\"\",\"code\":\"\",\"heavy_livestock_number\":null,\"light_livestock_number\":null,\"heavy_livestock_quota\":null,\"light_livestock_quota\":null,\"postal\":\"\",\"institution\":\"\",\"epidemiologic\":\"\",\"latitude\":null,\"longitude\":null,\"unit_unique_id\":\"\",\"activity\":null,\"activity_state\":false,\"operating_license_state\":false,\"capacity\":null,\"created_by\":null,\"modified_by\":null,\"owner\":null,\"cooperative\":null,\"province\":null,\"city\":null,\"contractor\":null},\"tag\":{\"code\":\"\",\"province\":null,\"city\":null,\"organization\":null,\"status\":\"\"},\"type\":{\"name\":\"\"},\"use_type\":{\"name\":\"\"},\"weight_type\":\"L\",\"species\":{\"name\":\"\"},\"birthdate\":\"2025-05-24T11:23:13.486799Z\",\"gender\":2}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:54:01.763341", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "41": {"endpoint": "/livestock/web/api/v1/livestock/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 284, "body_response": "{\"id\":7,\"herd\":{\"creator_info\":\"\",\"modifier_info\":\"\",\"trash\":false,\"name\":\"\",\"photo\":\"\",\"code\":\"\",\"heavy_livestock_number\":null,\"light_livestock_number\":null,\"heavy_livestock_quota\":null,\"light_livestock_quota\":null,\"postal\":\"\",\"institution\":\"\",\"epidemiologic\":\"\",\"latitude\":null,\"longitude\":null,\"unit_unique_id\":\"\",\"activity\":null,\"activity_state\":false,\"operating_license_state\":false,\"capacity\":null,\"created_by\":null,\"modified_by\":null,\"owner\":null,\"cooperative\":null,\"province\":null,\"city\":null,\"contractor\":null},\"tag\":{\"code\":\"\",\"province\":null,\"city\":null,\"organization\":null,\"status\":\"\"},\"type\":{\"name\":\"\"},\"use_type\":{\"name\":\"\"},\"weight_type\":\"L\",\"species\":{\"name\":\"\"},\"birthdate\":\"2025-05-24T11:23:13.486799Z\",\"gender\":2}", "body_request": {}, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.44.0", "log_created_at": "2025-05-24 14:56:04.431779", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}}} \ No newline at end of file diff --git a/logs/log1.json b/logs/log1.json new file mode 100644 index 0000000..b8ce05f --- /dev/null +++ b/logs/log1.json @@ -0,0 +1 @@ +{"_default": {"1": {"endpoint": "/auth/api/v1/city/?limit=25&offset=1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 569, "body_response": "{\"count\":26,\"next\":null,\"previous\":\"http://127.0.0.1:8000/auth/api/v1/city/?limit=25\",\"results\":[{\"id\":2,\"name\":\"\u062e\u0631\u0645 \u0622\u0628\u0627\u062f\"},{\"id\":3,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":4,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":5,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":6,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":7,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":8,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":9,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":10,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":11,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":12,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":13,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":14,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":15,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":16,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":17,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":18,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":19,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":20,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":21,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":22,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":23,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":24,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":25,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"},{\"id\":26,\"name\":\"\u0628\u0631\u0648\u062c\u0631\u062f\"}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 15:22:19.895309"}, "2": {"endpoint": "/search/api/v1/user/ss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 950, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:20:33.201015"}, "3": {"endpoint": "/search/api/v1/user/moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 474, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:20:43.741257"}, "4": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 479, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:20:47.710587"}, "5": {"endpoint": "/search/api/v1/user/mojita", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 400, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:20:53.535489"}, "6": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 394, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:20:56.733284"}, "7": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 381, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:21:23.410903"}, "8": {"endpoint": "/search/api/v1/user/1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 399, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:21:28.561703"}, "9": {"endpoint": "/search/api/v1/user/moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 789, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:39:41.650415"}, "10": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 405, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:39:45.829406"}, "11": {"endpoint": "/search/api/v1/user/J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 310, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:39:54.475533"}, "12": {"endpoint": "/search/api/v1/user/1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 401, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:39:59.635119"}, "13": {"endpoint": "/search/api/v1/user/1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 958, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:40:37.473123"}, "14": {"endpoint": "/search/api/v1/user/1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 760, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:40:56.286952"}, "15": {"endpoint": "/search/api/v1/user/2", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 449, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 16:41:11.899380"}, "16": {"endpoint": "/search/api/v1/user/moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 996, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 17:01:00.509392"}, "17": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 352, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-17 17:01:07.976701"}, "18": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 925, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:36:55.379137"}, "19": {"endpoint": "/search/api/v1/user/mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 778, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:58:27.523938"}, "20": {"endpoint": "/search/api/v1/user/moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 364, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:58:31.543010"}, "21": {"endpoint": "/search/api/v1/user/1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 388, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:58:35.014289"}, "22": {"endpoint": "/search/api/v1/user/2", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 374, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:58:38.472832"}, "23": {"endpoint": "/search/api/v1/user/moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 347, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 08:58:41.530464"}, "24": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 761, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'SearchUsersDocumentViewSet' object has no attribute 'geo_spatial_filter_fields'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'SearchUsersDocumentViewSet' object has no attribute 'geo_spatial_filter_fields'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\geo_spatial.py, line 97, in prepare_filter_fields
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:01:26 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'geo_spatial_filter_fields'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000154307A53A0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x0000015433D79C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000154307A53A0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x0000015433D79C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x0000015433D79B20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>}
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'geo_spatial_filter_fields'")
    exception_handler
    <function exception_handler at 0x0000015433C9D8A0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'geo_spatial_filter_fields'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 38, in list\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class ListModelMixin:
    4. \n \n
    5.     """
    6. \n \n
    7.     List a queryset.
    8. \n \n
    9.     """
    10. \n \n
    11.     def list(self, request, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         queryset = self.filter_queryset(self.get_queryset())\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         page = self.paginate_queryset(queryset)
    3. \n \n
    4.         if page is not None:
    5. \n \n
    6.             serializer = self.get_serializer(page, many=True)
    7. \n \n
    8.             return self.get_paginated_response(serializer.data)
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 154, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         You are unlikely to want to override this method, although you may need
    3. \n \n
    4.         to call it either from a list view, or from a custom `get_object`
    5. \n \n
    6.         method if you want to apply the configured filtering backend to the
    7. \n \n
    8.         default queryset.
    9. \n \n
    10.         """
    11. \n \n
    12.         for backend in list(self.filter_backends):
    13. \n \n
    \n \n
      \n
    1.             queryset = backend().filter_queryset(self.request, queryset, self)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return queryset
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def paginator(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         The paginator instance associated with the view, or `None`.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    backend
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.geo_spatial.GeoSpatialFilteringFilterBackend'>
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000154343453D0>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\geo_spatial.py, line 590, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1.         :param view: View.
    2. \n \n
    3.         :type request: rest_framework.request.Request
    4. \n \n
    5.         :type queryset: elasticsearch_dsl.search.Search
    6. \n \n
    7.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    8. \n \n
    9.         :return: Updated queryset.
    10. \n \n
    11.         :rtype: elasticsearch_dsl.search.Search
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         filter_query_params = self.get_filter_query_params(request, view)\n                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for options in filter_query_params.values():
    2. \n \n
    3. \n \n
    4.             # For all other cases, when we don't have multiple values,
    5. \n \n
    6.             # we follow the normal flow.
    7. \n \n
    8.             for value in options['values']:
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000154343453D0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.geo_spatial.GeoSpatialFilteringFilterBackend object at 0x0000015434347050>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\geo_spatial.py, line 543, in get_filter_query_params\n \n\n \n
    \n \n
      \n \n
    1.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    2. \n \n
    3.         :return: Request query params to filter on.
    4. \n \n
    5.         :rtype: dict
    6. \n \n
    7.         """
    8. \n \n
    9.         query_params = request.query_params.copy()
    10. \n \n
    11. \n \n
    12.         filter_query_params = {}
    13. \n \n
    \n \n
      \n
    1.         filter_fields = self.prepare_filter_fields(view)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for query_param in query_params:
    2. \n \n
    3.             query_param_list = self.split_lookup_filter(
    4. \n \n
    5.                 query_param,
    6. \n \n
    7.                 maxsplit=1
    8. \n \n
    9.             )
    10. \n \n
    11.             field_name = query_param_list[0]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    filter_query_params
    {}
    query_params
    <QueryDict: {'search': ['moji']}>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.geo_spatial.GeoSpatialFilteringFilterBackend object at 0x0000015434347050>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\geo_spatial.py, line 97, in prepare_filter_fields\n \n\n \n
    \n \n
      \n \n
    1.         """Prepare filter fields.
    2. \n \n
    3. \n \n
    4.         :param view:
    5. \n \n
    6.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    7. \n \n
    8.         :return: Filtering options.
    9. \n \n
    10.         :rtype: dict
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         filter_fields = view.geo_spatial_filter_fields\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         for field, options in filter_fields.items():
    3. \n \n
    4.             if options is None or isinstance(options, string_types):
    5. \n \n
    6.                 filter_fields[field] = {
    7. \n \n
    8.                     'field': options or field
    9. \n \n
    10.                 }
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.geo_spatial.GeoSpatialFilteringFilterBackend'>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000015434271CA0>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000015434332B60>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:31:26.724657"}, "25": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 620, "body_response": "\n\n\n \n \n ImproperlyConfigured\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

ImproperlyConfigured\n at /search/api/v1/user_relation_search/

\n
You need to define `nested_filter_fields` in your `SearchUsersDocumentViewSet` view when using `NestedFilteringFilterBackend` filter backend.
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:ImproperlyConfigured
Exception Value:
You need to define `nested_filter_fields` in your `SearchUsersDocumentViewSet` view when using `NestedFilteringFilterBackend` filter backend.
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\nested.py, line 83, in prepare_filter_fields
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:02:04 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ImproperlyConfigured('You need to define `nested_filter_fields` in your `SearchUsersDocumentViewSet` view when using `NestedFilteringFilterBackend` filter backend.')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000027B216A5190>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x0000027B24C69C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000027B216A5190>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x0000027B24C69C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x0000027B24C69A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>}
    exc
    ImproperlyConfigured('You need to define `nested_filter_fields` in your `SearchUsersDocumentViewSet` view when using `NestedFilteringFilterBackend` filter backend.')
    exception_handler
    <function exception_handler at 0x0000027B24B8D8A0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ImproperlyConfigured('You need to define `nested_filter_fields` in your `SearchUsersDocumentViewSet` view when using `NestedFilteringFilterBackend` filter backend.')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 38, in list\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class ListModelMixin:
    4. \n \n
    5.     """
    6. \n \n
    7.     List a queryset.
    8. \n \n
    9.     """
    10. \n \n
    11.     def list(self, request, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         queryset = self.filter_queryset(self.get_queryset())\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         page = self.paginate_queryset(queryset)
    3. \n \n
    4.         if page is not None:
    5. \n \n
    6.             serializer = self.get_serializer(page, many=True)
    7. \n \n
    8.             return self.get_paginated_response(serializer.data)
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 154, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         You are unlikely to want to override this method, although you may need
    3. \n \n
    4.         to call it either from a list view, or from a custom `get_object`
    5. \n \n
    6.         method if you want to apply the configured filtering backend to the
    7. \n \n
    8.         default queryset.
    9. \n \n
    10.         """
    11. \n \n
    12.         for backend in list(self.filter_backends):
    13. \n \n
    \n \n
      \n
    1.             queryset = backend().filter_queryset(self.request, queryset, self)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return queryset
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def paginator(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         The paginator instance associated with the view, or `None`.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    backend
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.nested.NestedFilteringFilterBackend'>
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000027B251536E0>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 787, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1.         :param view: View.
    2. \n \n
    3.         :type request: rest_framework.request.Request
    4. \n \n
    5.         :type queryset: elasticsearch_dsl.search.Search
    6. \n \n
    7.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    8. \n \n
    9.         :return: Updated queryset.
    10. \n \n
    11.         :rtype: elasticsearch_dsl.search.Search
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         filter_query_params = self.get_filter_query_params(request, view)\n                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for options in filter_query_params.values():
    2. \n \n
    3.             # When no specific lookup given, in case of multiple values
    4. \n \n
    5.             # we apply `terms` filter by default and proceed to the next
    6. \n \n
    7.             # query param.
    8. \n \n
    9.             if isinstance(options['values'], (list, tuple)) \\
    10. \n \n
    11.                     and options['lookup'] is None:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000027B251536E0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.nested.NestedFilteringFilterBackend object at 0x0000027B2504F950>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\nested.py, line 130, in get_filter_query_params\n \n\n \n
    \n \n
      \n \n
    1.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    2. \n \n
    3.         :return: Request query params to filter on.
    4. \n \n
    5.         :rtype: dict
    6. \n \n
    7.         """
    8. \n \n
    9.         query_params = request.query_params.copy()
    10. \n \n
    11. \n \n
    12.         filter_query_params = {}
    13. \n \n
    \n \n
      \n
    1.         filter_fields = self.prepare_filter_fields(view)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for query_param in query_params:
    2. \n \n
    3.             query_param_list = self.split_lookup_filter(
    4. \n \n
    5.                 query_param,
    6. \n \n
    7.                 maxsplit=1
    8. \n \n
    9.             )
    10. \n \n
    11.             field_name = query_param_list[0]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    filter_query_params
    {}
    query_params
    <QueryDict: {'search': ['moji']}>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.nested.NestedFilteringFilterBackend object at 0x0000027B2504F950>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\nested.py, line 83, in prepare_filter_fields\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         :param view:
    3. \n \n
    4.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    5. \n \n
    6.         :return: Filtering options.
    7. \n \n
    8.         :rtype: dict
    9. \n \n
    10.         """
    11. \n \n
    12.         if not hasattr(view, 'nested_filter_fields'):
    13. \n \n
    \n \n
      \n
    1.             raise ImproperlyConfigured(\n                ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 "You need to define `nested_filter_fields` in your `{}` view "
    2. \n \n
    3.                 "when using `{}` filter backend."
    4. \n \n
    5.                 "".format(view.__class__.__name__, cls.__name__)
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.         filter_fields = view.nested_filter_fields
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.nested.NestedFilteringFilterBackend'>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000027B24FBA750>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000027B24DC50F0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:32:04.397424"}, "26": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 940, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:02:18 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000247B2FDB650>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x00000247B2E59C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000247B2FDB650>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x00000247B2E59C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x00000247B2E59A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x00000247B2D79E40>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000247B2FF4D10>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000247B301DCD0>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x00000247B2EF7400>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000247B31BC850>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:32:19.201725"}, "27": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 820, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:02:53 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000022AEBAE5040>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x0000022AEF0B9E40>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000022AEBAE5040>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x0000022AEF0B9E40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x0000022AEF0B9A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x0000022AEEFDD8A0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000022AEBAE5250>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000022AEF567DA0>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x0000022AEF6ACAC0>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000022AEBAE50F0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:32:53.570123"}, "28": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 884, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:07:27 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000265BC295040>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x00000265BF879E40>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000265BC295040>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x00000265BF879E40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x00000265BF879A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x00000265BF77B7E0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000265BC2955B0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000265BFA3FA10>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x00000265BFE6C940>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000265BFD1ED70>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:37:27.748470"}, "29": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1029, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:07:38 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000017FCCE05010>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x0000017FD03E9E40>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000017FCCE05010>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x0000017FD03E9E40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x0000017FD03E9A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x0000017FD0304360>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000017FD056FFB0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000017FD05AE030>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x0000017FD09BB4C0>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000017FD07354E0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:37:38.803364"}, "30": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 876, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:08:24 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002407BFF51C0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000002407F5D9E40>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002407BFF51C0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000002407F5D9E40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000002407F5D9A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x000002407F4F9BC0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>,\n <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>,\n <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>,\n <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>,\n <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>,\n <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>,\n <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>,\n <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>,\n <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>,\n <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>,\n <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>,\n <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>,\n <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x000002407F9661E0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002407F777E30>
    serializer
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>,\n <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>,\n <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>,\n <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>,\n <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>,\n <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>,\n <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>,\n <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>,\n <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>,\n <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>,\n <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>,\n <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>,\n <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>]
    iterable
    [<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>,\n <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>,\n <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>,\n <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>,\n <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>,\n <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>,\n <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>,\n <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>,\n <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>,\n <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>,\n <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>,\n <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>,\n <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>,\n <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>,\n <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>]
    self
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>
    self
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    check_for_none
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x000002407FBAD000>
    instance
    <Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/1): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/5): {'user': {'username': 'modjssswssq', 'mobile': '09389657326'...}>, <Hit(userrelations/6): {'user': {}, 'organization': {'name': '\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646'}, 'role':...}>, <Hit(userrelations/7): {'user': {'username': 'modjasssw5ssq', 'mobile': '0938965732...}>, <Hit(userrelations/8): {'user': {'username': 'modjasssw5s5sq', 'mobile': '093896573...}>, <Hit(userrelations/9): {'user': {'username': 'modjasss4w5s5sq', 'mobile': '09389657...}>, <Hit(userrelations/11): {'user': {'username': 'modjs5ssq21', 'mobile': '09389657326'...}>, <Hit(userrelations/12): {'user': {'username': 'modjs5ssq921', 'mobile': '09389657326...}>, <Hit(userrelations/13): {'user': {'username': 'modjs5ssq1921', 'mobile': '0938965732...}>, <Hit(userrelations/14): {'user': {'username': 'modjs56', 'mobile': '09389657326', 'n...}>, <Hit(userrelations/15): {'user': {'username': 'modjs5w6', 'mobile': '09389657326', '...}>, <Hit(userrelations/25): {'user': {'username': 'modjssss', 'mobile': '09389657326', '...}>, <Hit(userrelations/26): {'user': {'username': 'mopomk433dd', 'mobile': '09389657326'...}>, <Hit(userrelations/27): {'user': {'username': 'mopomk433ddss', 'mobile': '0938965732...}>, <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>, <Hit(userrelations/28): {'user': {'username': 'housh', 'mobile': '', 'national_code'...}>, <Hit(userrelations/10): {'user': {'username': 'modjs5ssq1', 'mobile': '09389657326',...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'housh', 'mobile': '', 'national_code': ''}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002407F5C56F0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:38:24.846417"}, "31": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 951, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:08:43 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000156D83D4FB0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x00000156DB9A9E40>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000156D83D4FB0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x00000156DB9A9E40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x00000156DB9A9A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x00000156DB8A8CC0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000156DBF05190>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000156DBCF6390>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x00000156DBEFF4C0>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000156DBB90E20>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:38:43.666006"}, "32": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1127, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/

\n
'AttrDict' object has no attribute 'pk'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
Django Version:4.2.21
Exception Type:AttributeError
Exception Value:
'AttrDict' object has no attribute 'pk'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:25:55 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 151, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.         return (self._d_,)
    2. \n \n
    3. \n \n
    4.     def __setstate__(self, state):
    5. \n \n
    6.         super().__setattr__("_d_", state[0])
    7. \n \n
    8. \n \n
    9.     def __getattr__(self, attr_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return self.__getitem__(attr_name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except KeyError:
    2. \n \n
    3.             raise AttributeError(
    4. \n \n
    5.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.     def __delattr__(self, attr_name):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 166, in __getitem__\n \n\n \n
    \n \n
      \n \n
    1.             del self._d_[attr_name]
    2. \n \n
    3.         except KeyError:
    4. \n \n
    5.             raise AttributeError(
    6. \n \n
    7.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    12.     def __getitem__(self, key):
    13. \n \n
    \n \n
      \n
    1.         return _wrap(self._d_[key])\n                          ^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __setitem__(self, key, value):
    3. \n \n
    4.         self._d_[key] = value
    5. \n \n
    6. \n \n
    7.     def __delitem__(self, key):
    8. \n \n
    9.         del self._d_[key]
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    key
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('pk'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002D278EA52B0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000002D27C489C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002D278EA52B0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000002D27C489C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000002D27C489A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>}
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    exception_handler
    <function exception_handler at 0x000002D27C38BBA0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AttrDict' object has no attribute 'pk'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 43, in list\n \n\n \n
    \n \n
      \n \n
    1.     """
    2. \n \n
    3.     def list(self, request, *args, **kwargs):
    4. \n \n
    5.         queryset = self.filter_queryset(self.get_queryset())
    6. \n \n
    7. \n \n
    8.         page = self.paginate_queryset(queryset)
    9. \n \n
    10.         if page is not None:
    11. \n \n
    12.             serializer = self.get_serializer(page, many=True)
    13. \n \n
    \n \n
      \n
    1.             return self.get_paginated_response(serializer.data)\n                                                   ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         serializer = self.get_serializer(queryset, many=True)
    3. \n \n
    4.         return Response(serializer.data)
    5. \n \n
    6. \n \n
    7. \n \n
    8. class RetrieveModelMixin:
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    page
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    queryset
    <elasticsearch_dsl.search.Search object at 0x000002D27C95AC90>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002D27C675F40>
    serializer
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 797, in data\n \n\n \n
    \n \n
      \n \n
    1.         return representation.list_repr(self, indent=1)
    2. \n \n
    3. \n \n
    4.     # Include a backlink to the serializer class on return objects.
    5. \n \n
    6.     # Allows renderers such as HTMLFormRenderer to get the full field info.
    7. \n \n
    8. \n \n
    9.     @property
    10. \n \n
    11.     def data(self):
    12. \n \n
    \n \n
      \n
    1.         ret = super().data\n                   ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return ReturnList(ret, serializer=self)
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def errors(self):
    7. \n \n
    8.         ret = super().errors
    9. \n \n
    10.         if isinstance(ret, list) and len(ret) == 1 and getattr(ret[0], 'code', None) == 'null':
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'rest_framework.serializers.ListSerializer'>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 251, in data\n \n\n \n
    \n \n
      \n \n
    1.                 'You should either call `.is_valid()` first, '
    2. \n \n
    3.                 'or access `.initial_data` instead.'
    4. \n \n
    5.             )
    6. \n \n
    7.             raise AssertionError(msg)
    8. \n \n
    9. \n \n
    10.         if not hasattr(self, '_data'):
    11. \n \n
    12.             if self.instance is not None and not getattr(self, '_errors', None):
    13. \n \n
    \n \n
      \n
    1.                 self._data = self.to_representation(self.instance)\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             elif hasattr(self, '_validated_data') and not getattr(self, '_errors', None):
    2. \n \n
    3.                 self._data = self.to_representation(self.validated_data)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 self._data = self.get_initial()
    8. \n \n
    9.         return self._data
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 716, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.         List of object instances -> List of dicts of primitive datatypes.
    2. \n \n
    3.         """
    4. \n \n
    5.         # Dealing with nested relationships, data can be a Manager,
    6. \n \n
    7.         # so, first get a queryset from the Manager if needed
    8. \n \n
    9.         iterable = data.all() if isinstance(data, models.manager.BaseManager) else data
    10. \n \n
    11. \n \n
    12.         return [
    13. \n \n
    \n \n
      \n
    1.             self.child.to_representation(item) for item in iterable\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         ]
    2. \n \n
    3. \n \n
    4.     def validate(self, attrs):
    5. \n \n
    6.         return attrs
    7. \n \n
    8. \n \n
    9.     def update(self, instance, validated_data):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    data
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    iterable
    [<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>]
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authorization\\api\\v1\\serializers.py, line 57, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             'user',
    2. \n \n
    3.             'organization',
    4. \n \n
    5.             'role',
    6. \n \n
    7.             'permissions',
    8. \n \n
    9.         ]
    10. \n \n
    11. \n \n
    12.     def to_representation(self, instance):
    13. \n \n
    \n \n
      \n
    1.         representation = super().to_representation(instance)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(instance, UserRelations):
    2. \n \n
    3.             if instance.user:
    4. \n \n
    5.                 representation['user'] = auth_serializer.UserSerializer(instance.user).data
    6. \n \n
    7.             if instance.organization:
    8. \n \n
    9.                 representation['organization'] = auth_serializer.OrganizationSerializer(instance.organization).data
    10. \n \n
    11.             if instance.role:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.authorization.api.v1.serializers.UserRelationSerializer'>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 540, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             #
    2. \n \n
    3.             # For related fields with `use_pk_only_optimization` we need to
    4. \n \n
    5.             # resolve the pk value.
    6. \n \n
    7.             check_for_none = attribute.pk if isinstance(attribute, PKOnlyObject) else attribute
    8. \n \n
    9.             if check_for_none is None:
    10. \n \n
    11.                 ret[field.field_name] = None
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 ret[field.field_name] = field.to_representation(attribute)\n                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return ret
    3. \n \n
    4. \n \n
    5.     def validate(self, attrs):
    6. \n \n
    7.         return attrs
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attribute
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    check_for_none
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    field
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    fields
    <generator object Serializer._readable_fields at 0x000002D27CA7C940>
    instance
    <Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>
    ret
    {}
    self
    UserRelationSerializer([<Hit(userrelations/24): {'user': {'username': 'moji', 'mobile': '09389657', 'nationa...}>], context={'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=moji'>, 'format': None, 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object>}):\n    id = IntegerField(label='ID', read_only=True)\n    user = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    organization = PrimaryKeyRelatedField(queryset=Organization.objects.all())\n    role = PrimaryKeyRelatedField(allow_null=True, queryset=Role.objects.all(), required=False)\n    permissions = PrimaryKeyRelatedField(allow_empty=False, many=True, queryset=Permissions.objects.all())
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\relations.py, line 268, in to_representation\n \n\n \n
    \n \n
      \n \n
    1.             self.fail('does_not_exist', pk_value=data)
    2. \n \n
    3.         except (TypeError, ValueError):
    4. \n \n
    5.             self.fail('incorrect_type', data_type=type(data).__name__)
    6. \n \n
    7. \n \n
    8.     def to_representation(self, value):
    9. \n \n
    10.         if self.pk_field is not None:
    11. \n \n
    12.             return self.pk_field.to_representation(value.pk)
    13. \n \n
    \n \n
      \n
    1.         return value.pk\n                    ^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class HyperlinkedRelatedField(RelatedField):
    4. \n \n
    5.     lookup_field = 'pk'
    6. \n \n
    7.     view_name = None
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)
    value
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\utils.py, line 153, in __getattr__\n \n\n \n
    \n \n
      \n \n
    1.     def __setstate__(self, state):
    2. \n \n
    3.         super().__setattr__("_d_", state[0])
    4. \n \n
    5. \n \n
    6.     def __getattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             return self.__getitem__(attr_name)
    11. \n \n
    12.         except KeyError:
    13. \n \n
    \n \n
      \n
    1.             raise AttributeError(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 f"{self.__class__.__name__!r} object has no attribute {attr_name!r}"
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def __delattr__(self, attr_name):
    7. \n \n
    8.         try:
    9. \n \n
    10.             del self._d_[attr_name]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attr_name
    'pk'
    self
    {'username': 'moji', 'mobile': '09389657', 'national_code': ...}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002D27C933970>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:55:55.986852"}, "33": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 747, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:56:32.589245"}, "34": {"endpoint": "/search/api/v1/user_relation_search/?search=mojitba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 460, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:57:01.023292"}, "35": {"endpoint": "/search/api/v1/user_relation_search/?search=mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 463, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:57:06.655417"}, "36": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 485, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:57:16.654620"}, "37": {"endpoint": "/search/api/v1/user_relation_search/?search=0938965", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 425, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:57:54.254448"}, "38": {"endpoint": "/search/api/v1/user_relation_search/?search=093896573", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 497, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:01.593975"}, "39": {"endpoint": "/search/api/v1/user_relation_search/?search=093", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 439, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:07.393910"}, "40": {"endpoint": "/search/api/v1/user_relation_search/?search=m", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 498, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:10.853090"}, "41": {"endpoint": "/search/api/v1/user_relation_search/?search=mo", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 448, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:13.315043"}, "42": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 444, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:15.354402"}, "43": {"endpoint": "/search/api/v1/user_relation_search/?search=%DA%A9%D8%B1%D8%AC", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 445, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:28.813107"}, "44": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 515, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:58:40.463186"}, "45": {"endpoint": "/search/api/v1/user_relation_search/?search=modjs5ssq", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1421, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:59:15.085353"}, "46": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 3451, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 09:59:49.477920"}, "47": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:mojitaba", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6581, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":0,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":0,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:00:04.037194"}, "48": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:modjssss", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10604, "body_response": "\n\n\n \n \n ConnectionTimeout\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

ConnectionTimeout\n at /search/api/v1/user_relation_search/

\n
Connection timed out
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=user.username:modjssss
Django Version:4.2.21
Exception Type:ConnectionTimeout
Exception Value:
Connection timed out
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:35:19 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 534, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 raise ReadTimeoutError(
    2. \n \n
    3.                     self, url, f"Read timed out. (read timeout={read_timeout})"
    4. \n \n
    5.                 )
    6. \n \n
    7.             conn.timeout = read_timeout
    8. \n \n
    9. \n \n
    10.         # Receive the response from the server
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             response = conn.getresponse()\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (BaseSSLError, OSError) as e:
    2. \n \n
    3.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    4. \n \n
    5.             raise
    6. \n \n
    7. \n \n
    8.         # Set properties that are used by the pooling layer.
    9. \n \n
    10.         response.retries = retries
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x0000025045B87110>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connection.py, line 516, in getresponse\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Save a reference to the shutdown function before ownership is passed
    3. \n \n
    4.         # to httplib_response
    5. \n \n
    6.         # TODO should we implement it everywhere?
    7. \n \n
    8.         _shutdown = getattr(self.sock, "shutdown", None)
    9. \n \n
    10. \n \n
    11.         # Get the response from http.client.HTTPConnection
    12. \n \n
    \n \n
      \n
    1.         httplib_response = super().getresponse()\n                                ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         try:
    3. \n \n
    4.             assert_header_parsing(httplib_response.msg)
    5. \n \n
    6.         except (HeaderParsingError, TypeError) as hpe:
    7. \n \n
    8.             log.warning(
    9. \n \n
    10.                 "Failed to parse headers (url=%s): %s",
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    HTTPResponse
    <class 'urllib3.response.HTTPResponse'>
    __class__
    <class 'urllib3.connection.HTTPConnection'>
    _shutdown
    <built-in method shutdown of socket object at 0x0000025045CB6DD0>
    resp_options
    _ResponseOptions(request_method='POST', request_url='/userrelations/_count', preload_content=True, decode_content=True, enforce_content_length=True)
    self
    <urllib3.connection.HTTPConnection object at 0x0000025045B87110>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 1411, in getresponse\n \n\n \n
    \n \n
      \n \n
    1.             response = self.response_class(self.sock, self.debuglevel,
    2. \n \n
    3.                                            method=self._method)
    4. \n \n
    5.         else:
    6. \n \n
    7.             response = self.response_class(self.sock, method=self._method)
    8. \n \n
    9. \n \n
    10.         try:
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response.begin()\n                      ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except ConnectionError:
    2. \n \n
    3.                 self.close()
    4. \n \n
    5.                 raise
    6. \n \n
    7.             assert response.will_close != _UNKNOWN
    8. \n \n
    9.             self.__state = _CS_IDLE
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    response
    <http.client.HTTPResponse object at 0x0000025045D84C70>
    self
    <urllib3.connection.HTTPConnection object at 0x0000025045B87110>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 324, in begin\n \n\n \n
    \n \n
      \n \n
    1.     def begin(self):
    2. \n \n
    3.         if self.headers is not None:
    4. \n \n
    5.             # we've already started reading the response
    6. \n \n
    7.             return
    8. \n \n
    9. \n \n
    10.         # read until we get a non-100 response
    11. \n \n
    12.         while True:
    13. \n \n
    \n \n
      \n
    1.             version, status, reason = self._read_status()\n                                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if status != CONTINUE:
    2. \n \n
    3.                 break
    4. \n \n
    5.             # skip the header from the 100 response
    6. \n \n
    7.             skipped_headers = _read_headers(self.fp)
    8. \n \n
    9.             if self.debuglevel > 0:
    10. \n \n
    11.                 print("headers:", skipped_headers)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x0000025045D84C70>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 285, in _read_status\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         self.chunked = _UNKNOWN         # is "chunked" being used?
    3. \n \n
    4.         self.chunk_left = _UNKNOWN      # bytes left to read in current chunk
    5. \n \n
    6.         self.length = _UNKNOWN          # number of bytes left in response
    7. \n \n
    8.         self.will_close = _UNKNOWN      # conn will close at end of response
    9. \n \n
    10. \n \n
    11.     def _read_status(self):
    12. \n \n
    \n \n
      \n
    1.         line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if len(line) > _MAXLINE:
    2. \n \n
    3.             raise LineTooLong("status line")
    4. \n \n
    5.         if self.debuglevel > 0:
    6. \n \n
    7.             print("reply:", repr(line))
    8. \n \n
    9.         if not line:
    10. \n \n
    11.             # Presumably, the server closed the connection before
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x0000025045D84C70>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\socket.py, line 707, in readinto\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         self._checkClosed()
    4. \n \n
    5.         self._checkReadable()
    6. \n \n
    7.         if self._timeout_occurred:
    8. \n \n
    9.             raise OSError("cannot read from timed out object")
    10. \n \n
    11.         while True:
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 return self._sock.recv_into(b)\n                            ^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except timeout:
    2. \n \n
    3.                 self._timeout_occurred = True
    4. \n \n
    5.                 raise
    6. \n \n
    7.             except error as e:
    8. \n \n
    9.                 if e.errno in _blocking_errnos:
    10. \n \n
    11.                     return None
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    b
    <memory at 0x0000025045DF8700>
    self
    <socket.SocketIO object at 0x0000025045D61300>
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (timed out) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 167, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     body_to_send = gzip.compress(body)
    2. \n \n
    3.                     request_headers["content-encoding"] = "gzip"
    4. \n \n
    5.                 else:
    6. \n \n
    7.                     body_to_send = body
    8. \n \n
    9.             else:
    10. \n \n
    11.                 body_to_send = None
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = self.pool.urlopen(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method,
    2. \n \n
    3.                 target,
    4. \n \n
    5.                 body=body_to_send,
    6. \n \n
    7.                 retries=Retry(False),
    8. \n \n
    9.                 headers=request_headers,
    10. \n \n
    11.                 **kw,  # type: ignore[arg-type]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747550109.560963
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 841, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.                     HTTPException,
    2. \n \n
    3.                 ),
    4. \n \n
    5.             ) and (conn and conn.proxy and not conn.has_connected_to_proxy):
    6. \n \n
    7.                 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
    8. \n \n
    9.             elif isinstance(new_e, (OSError, HTTPException)):
    10. \n \n
    11.                 new_e = ProtocolError("Connection aborted.", new_e)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             retries = retries.increment(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    2. \n \n
    3.             )
    4. \n \n
    5.             retries.sleep()
    6. \n \n
    7. \n \n
    8.             # Keep track of the error for the retry warning.
    9. \n \n
    10.             err = e
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\retry.py, line 449, in increment\n \n\n \n
    \n \n
      \n \n
    1.         :param Exception error: An error encountered during the request, or
    2. \n \n
    3.             None if the response was received successfully.
    4. \n \n
    5. \n \n
    6.         :return: A new ``Retry`` object.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.total is False and error:
    11. \n \n
    12.             # Disabled, indicate to re-raise the error.
    13. \n \n
    \n \n
      \n
    1.             raise reraise(type(error), error, _stacktrace)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         total = self.total
    3. \n \n
    4.         if total is not None:
    5. \n \n
    6.             total -= 1
    7. \n \n
    8. \n \n
    9.         connect = self.connect
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _pool
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    _stacktrace
    <traceback object at 0x0000025045D8EA40>
    error
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    method
    'POST'
    response
    None
    self
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\util.py, line 39, in reraise\n \n\n \n
    \n \n
      \n \n
    1.     tp: type[BaseException] | None,
    2. \n \n
    3.     value: BaseException,
    4. \n \n
    5.     tb: TracebackType | None = None,
    6. \n \n
    7. ) -> typing.NoReturn:
    8. \n \n
    9.     try:
    10. \n \n
    11.         if value.__traceback__ is not tb:
    12. \n \n
    13.             raise value.with_traceback(tb)
    14. \n \n
    \n \n
      \n
    1.         raise value\n            ^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     finally:
    2. \n \n
    3.         value = None  # type: ignore[assignment]
    4. \n \n
    5.         tb = None
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    tb
    None
    tp
    <class 'urllib3.exceptions.ReadTimeoutError'>
    value
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 787, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.             # If we're going to release the connection in ``finally:``, then
    2. \n \n
    3.             # the response doesn't need to know about the connection. Otherwise
    4. \n \n
    5.             # it will also try to release it and we'll have a double-release
    6. \n \n
    7.             # mess.
    8. \n \n
    9.             response_conn = conn if not release_conn else None
    10. \n \n
    11. \n \n
    12.             # Make the request on the HTTPConnection object
    13. \n \n
    \n \n
      \n
    1.             response = self._make_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 conn,
    2. \n \n
    3.                 method,
    4. \n \n
    5.                 url,
    6. \n \n
    7.                 timeout=timeout_obj,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 headers=headers,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 536, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             conn.timeout = read_timeout
    4. \n \n
    5. \n \n
    6.         # Receive the response from the server
    7. \n \n
    8.         try:
    9. \n \n
    10.             response = conn.getresponse()
    11. \n \n
    12.         except (BaseSSLError, OSError) as e:
    13. \n \n
    \n \n
      \n
    1.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise
    2. \n \n
    3. \n \n
    4.         # Set properties that are used by the pooling layer.
    5. \n \n
    6.         response.retries = retries
    7. \n \n
    8.         response._connection = response_conn  # type: ignore[attr-defined]
    9. \n \n
    10.         response._pool = self  # type: ignore[attr-defined]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x0000025045B87110>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 367, in _raise_timeout\n \n\n \n
    \n \n
      \n \n
    1.         err: BaseSSLError | OSError | SocketTimeout,
    2. \n \n
    3.         url: str,
    4. \n \n
    5.         timeout_value: _TYPE_TIMEOUT | None,
    6. \n \n
    7.     ) -> None:
    8. \n \n
    9.         """Is the error actually a timeout? Will raise a ReadTimeout or pass"""
    10. \n \n
    11. \n \n
    12.         if isinstance(err, SocketTimeout):
    13. \n \n
    \n \n
      \n
    1.             raise ReadTimeoutError(\n                 ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self, url, f"Read timed out. (read timeout={timeout_value})"
    2. \n \n
    3.             ) from err
    4. \n \n
    5. \n \n
    6.         # See the above comment about EAGAIN in Python 3.
    7. \n \n
    8.         if hasattr(err, "errno") and err.errno in _blocking_errnos:
    9. \n \n
    10.             raise ReadTimeoutError(
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    err
    TimeoutError('timed out')
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x0000025045B59CA0>
    timeout_value
    10.0
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000250420C4F80>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x0000025045699EE0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000250420C4F80>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x0000025045699EE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x0000025045699B20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>}
    exc
    ConnectionTimeout('Connection timed out during request')
    exception_handler
    <function exception_handler at 0x0000025045598AE0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 40, in list\n \n\n \n
    \n \n
      \n \n
    1. class ListModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     List a queryset.
    6. \n \n
    7.     """
    8. \n \n
    9.     def list(self, request, *args, **kwargs):
    10. \n \n
    11.         queryset = self.filter_queryset(self.get_queryset())
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if page is not None:
    2. \n \n
    3.             serializer = self.get_serializer(page, many=True)
    4. \n \n
    5.             return self.get_paginated_response(serializer.data)
    6. \n \n
    7. \n \n
    8.         serializer = self.get_serializer(queryset, many=True)
    9. \n \n
    10.         return Response(serializer.data)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000025045D62150>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000025045D62150>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 194, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # Something weird is happening here. If None returned before the
    2. \n \n
    3.         # following code, post_filter works. If None returned after this code
    4. \n \n
    5.         # post_filter does not work. Obviously, something strange happens in
    6. \n \n
    7.         # the paginator.page(page_number) and thus affects the lazy
    8. \n \n
    9.         # queryset in such a way, that we get TransportError(400,
    10. \n \n
    11.         # 'parsing_exception', 'request does not support [post_filter]')
    12. \n \n
    13.         try:
    14. \n \n
    \n \n
      \n
    1.             self.page = paginator.page(page_number)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except django_paginator.InvalidPage as exc:
    2. \n \n
    3.             msg = self.invalid_page_message.format(
    4. \n \n
    5.                 page_number=page_number, message=six.text_type(exc)
    6. \n \n
    7.             )
    8. \n \n
    9.             raise NotFound(msg)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {}
    page_number
    1
    page_size
    25
    paginator
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000025045D62150>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:modjssss'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x0000025045D60FE0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x0000025045D63AA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 64, in page\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def page(self, number):
    3. \n \n
    4.         """Returns a Page object for the given 1-based page number.
    5. \n \n
    6. \n \n
    7.         :param number:
    8. \n \n
    9.         :return:
    10. \n \n
    11.         """
    12. \n \n
    \n \n
      \n
    1.         number = self.validate_number(number)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         bottom = (number - 1) * self.per_page
    2. \n \n
    3.         top = bottom + self.per_page
    4. \n \n
    5.         if top + self.orphans >= self.count:
    6. \n \n
    7.             top = self.count
    8. \n \n
    9.         object_list = self.object_list[bottom:top].execute()
    10. \n \n
    11.         __facets = getattr(object_list, 'aggregations', None)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 53, in validate_number\n \n\n \n
    \n \n
      \n \n
    1.             if isinstance(number, float) and not number.is_integer():
    2. \n \n
    3.                 raise ValueError
    4. \n \n
    5.             number = int(number)
    6. \n \n
    7.         except (TypeError, ValueError):
    8. \n \n
    9.             raise PageNotAnInteger(_("That page number is not an integer"))
    10. \n \n
    11.         if number < 1:
    12. \n \n
    13.             raise EmptyPage(_("That page number is less than 1"))
    14. \n \n
    \n \n
      \n
    1.         if number > self.num_pages:\n                        ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise EmptyPage(_("That page contains no results"))
    2. \n \n
    3.         return number
    4. \n \n
    5. \n \n
    6.     def get_page(self, number):
    7. \n \n
    8.         """
    9. \n \n
    10.         Return a valid page, even if the page argument isn't a number or isn't
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    self
    <django.utils.functional.cached_property object at 0x00000250420EDA30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 99, in num_pages\n \n\n \n
    \n \n
      \n \n
    1.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    2. \n \n
    3.             return c()
    4. \n \n
    5.         return len(self.object_list)
    6. \n \n
    7. \n \n
    8.     @cached_property
    9. \n \n
    10.     def num_pages(self):
    11. \n \n
    12.         """Return the total number of pages."""
    13. \n \n
    \n \n
      \n
    1.         if self.count == 0 and not self.allow_empty_first_page:\n               ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return 0
    2. \n \n
    3.         hits = max(1, self.count - self.orphans)
    4. \n \n
    5.         return ceil(hits / self.per_page)
    6. \n \n
    7. \n \n
    8.     @property
    9. \n \n
    10.     def page_range(self):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    self
    <django.utils.functional.cached_property object at 0x00000250420ED9D0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 93, in count\n \n\n \n
    \n \n
      \n \n
    1.         return Page(*args, **kwargs)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def count(self):
    7. \n \n
    8.         """Return the total number of objects, across all pages."""
    9. \n \n
    10.         c = getattr(self.object_list, "count", None)
    11. \n \n
    12.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    13. \n \n
    \n \n
      \n
    1.             return c()\n                       ^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return len(self.object_list)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def num_pages(self):
    7. \n \n
    8.         """Return the total number of pages."""
    9. \n \n
    10.         if self.count == 0 and not self.allow_empty_first_page:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    c
    <bound method Search.count of <elasticsearch_dsl.search.Search object at 0x0000025045D62150>>
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x0000025045D630E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 723, in count\n \n\n \n
    \n \n
      \n \n
    1.         if hasattr(self, "_response") and self._response.hits.total.relation == "eq":
    2. \n \n
    3.             return self._response.hits.total.value
    4. \n \n
    5. \n \n
    6.         es = get_connection(self._using)
    7. \n \n
    8. \n \n
    9.         d = self.to_dict(count=True)
    10. \n \n
    11.         # TODO: failed shards detection
    12. \n \n
    \n \n
      \n
    1.         resp = es.count(index=self._index, query=d.get("query", None), **self._params)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return resp["count"]
    2. \n \n
    3. \n \n
    4.     def execute(self, ignore_cache=False):
    5. \n \n
    6.         """
    7. \n \n
    8.         Execute the search and return an instance of ``Response`` wrapping all
    9. \n \n
    10.         the data.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    d
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}}
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    self
    <elasticsearch_dsl.search.Search object at 0x0000025045D62150>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    api
    <function Elasticsearch.count at 0x0000025042E50720>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}}
    maybe_transport_options
    set()
    parameter_aliases
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 915, in count\n \n\n \n
    \n \n
      \n \n
    1.         if terminate_after is not None:
    2. \n \n
    3.             __query["terminate_after"] = terminate_after
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                    
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_name="document",
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_count'
    _Elasticsearch__query
    {}
    allow_no_indices
    None
    analyze_wildcard
    None
    analyzer
    None
    default_operator
    None
    df
    None
    error_trace
    None
    expand_wildcards
    None
    filter_path
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    lenient
    None
    min_score
    None
    preference
    None
    pretty
    None
    q
    None
    query
    {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}
    routing
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    terminate_after
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 285, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.         mimetype_header_to_compat("Content-Type")
    2. \n \n
    3. \n \n
    4.         if params:
    5. \n \n
    6.             target = f"{path}?{_quote_query(params)}"
    7. \n \n
    8.         else:
    9. \n \n
    10.             target = path
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         meta, resp_body = self.transport.perform_request(\n                               
      \u2026
    2. \n
    \n \n
      \n \n
    1.             method,
    2. \n \n
    3.             target,
    4. \n \n
    5.             headers=request_headers,
    6. \n \n
    7.             body=body,
    8. \n \n
    9.             request_timeout=self._request_timeout,
    10. \n \n
    11.             max_retries=self._max_retries,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}}
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x0000025045D660C0>
    params
    {}
    path
    '/userrelations/_count'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_transport.py, line 342, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             retry = False
    2. \n \n
    3.             node_failure = False
    4. \n \n
    5.             last_response: Optional[TransportApiResponse] = None
    6. \n \n
    7.             node = self.node_pool.get()
    8. \n \n
    9.             start_time = time.time()
    10. \n \n
    11.             try:
    12. \n \n
    13.                 otel_span.set_node_metadata(node.host, node.port, node.base_url, target)
    14. \n \n
    \n \n
      \n
    1.                 resp = node.perform_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     method,
    2. \n \n
    3.                     target,
    4. \n \n
    5.                     body=request_body,
    6. \n \n
    7.                     headers=request_headers,
    8. \n \n
    9.                     request_timeout=request_timeout,
    10. \n \n
    11.                 )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attempt
    0
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'modjssss'}}}]}}}
    client_meta
    <DEFAULT>
    errors
    []
    headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    last_response
    None
    max_retries
    3
    method
    'POST'
    node
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    node_failure
    True
    otel_span
    <elastic_transport.OpenTelemetrySpan object at 0x0000025045D63BC0>
    request_body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    request_headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    retry
    False
    retry_on_status
    (429, 502, 503, 504)
    retry_on_timeout
    False
    self
    <elastic_transport.Transport object at 0x0000025045B5A570>
    start_time
    1747550109.560963
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             self._log_request(
    2. \n \n
    3.                 method=method,
    4. \n \n
    5.                 target=target,
    6. \n \n
    7.                 headers=request_headers,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 exception=err,
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             raise err from e\n                 ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         meta = ApiResponseMeta(
    3. \n \n
    4.             node=self.config,
    5. \n \n
    6.             duration=duration,
    7. \n \n
    8.             http_version="1.1",
    9. \n \n
    10.             status=response.status,
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"modjssss"}}}'\n b']}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747550109.560963
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'user.username:modjssss'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=user.username:modjssss'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000025045D61D20>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:05:20.039796"}, "49": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:modjssss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 503, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{\"_filter_user\":{\"doc_count\":1,\"user\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}},\"_filter_organization\":{\"doc_count\":1,\"organization\":{\"doc_count_error_upper_bound\":0,\"sum_other_doc_count\":0,\"buckets\":[]}}},\"results\":[{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:05:26.725671"}, "50": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:modjssss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 895, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:06:33.693393"}, "51": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:modjssss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 411, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:06:36.947758"}, "52": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:0938965", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 456, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:07:06.864322"}, "53": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:0938965", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 433, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:07:18.887815"}, "54": {"endpoint": "/search/api/v1/user_relation_search/?search=user.city.name:%DA%A9%D8%B1%D8%AC", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 769, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:08:54.943681"}, "55": {"endpoint": "/search/api/v1/user_relation_search/?search=user.city.name:%DA%A9%D8%B1%D8%AC", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 418, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:08:57.079694"}, "56": {"endpoint": "/search/api/v1/user_relation_search/?search=user.city.name:%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 461, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:09:02.671517"}, "57": {"endpoint": "/search/api/v1/user_relation_search/?search=user.city.name:%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 449, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:09:04.515765"}, "58": {"endpoint": "/search/api/v1/user_relation_search/?search=user.city.name:%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 891, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:09:58.382479"}, "59": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:modjssss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 671, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:10:19.452397"}, "60": {"endpoint": "/search/api/v1/user_relation_search/?search=user_username:modjssss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 413, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:11:22.785853"}, "61": {"endpoint": "/search/api/v1/user_relation_search/?search=organization_type_key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 395, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:13:06.662249"}, "62": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 383, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:13:14.224533"}, "63": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 431, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:13:16.061529"}, "64": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 987, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:16:23.107023"}, "65": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 382, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:16:25.647355"}, "66": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:mojit", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 608, "body_response": "\n\n\n \n \n TypeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

TypeError\n at /search/api/v1/user_relation_search/

\n
list indices must be integers or slices, not str
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=user.username:mojit
Django Version:4.2.21
Exception Type:TypeError
Exception Value:
list indices must be integers or slices, not str
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 108, in prepare_filter_fields
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:51:08 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError('list indices must be integers or slices, not str')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001EBE6C54FB0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001EBEA229C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001EBE6C54FB0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001EBEA229C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000001EBEA229A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>}
    exc
    TypeError('list indices must be integers or slices, not str')
    exception_handler
    <function exception_handler at 0x000001EBEA16A020>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError('list indices must be integers or slices, not str')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 38, in list\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class ListModelMixin:
    4. \n \n
    5.     """
    6. \n \n
    7.     List a queryset.
    8. \n \n
    9.     """
    10. \n \n
    11.     def list(self, request, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         queryset = self.filter_queryset(self.get_queryset())\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         page = self.paginate_queryset(queryset)
    3. \n \n
    4.         if page is not None:
    5. \n \n
    6.             serializer = self.get_serializer(page, many=True)
    7. \n \n
    8.             return self.get_paginated_response(serializer.data)
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 154, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         You are unlikely to want to override this method, although you may need
    3. \n \n
    4.         to call it either from a list view, or from a custom `get_object`
    5. \n \n
    6.         method if you want to apply the configured filtering backend to the
    7. \n \n
    8.         default queryset.
    9. \n \n
    10.         """
    11. \n \n
    12.         for backend in list(self.filter_backends):
    13. \n \n
    \n \n
      \n
    1.             queryset = backend().filter_queryset(self.request, queryset, self)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return queryset
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def paginator(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         The paginator instance associated with the view, or `None`.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    backend
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend'>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001EBEA414D70>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 787, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1.         :param view: View.
    2. \n \n
    3.         :type request: rest_framework.request.Request
    4. \n \n
    5.         :type queryset: elasticsearch_dsl.search.Search
    6. \n \n
    7.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    8. \n \n
    9.         :return: Updated queryset.
    10. \n \n
    11.         :rtype: elasticsearch_dsl.search.Search
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         filter_query_params = self.get_filter_query_params(request, view)\n                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for options in filter_query_params.values():
    2. \n \n
    3.             # When no specific lookup given, in case of multiple values
    4. \n \n
    5.             # we apply `terms` filter by default and proceed to the next
    6. \n \n
    7.             # query param.
    8. \n \n
    9.             if isinstance(options['values'], (list, tuple)) \\
    10. \n \n
    11.                     and options['lookup'] is None:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001EBEA414D70>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend object at 0x000001EBEA71ABA0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 727, in get_filter_query_params\n \n\n \n
    \n \n
      \n \n
    1.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    2. \n \n
    3.         :return: Request query params to filter on.
    4. \n \n
    5.         :rtype: dict
    6. \n \n
    7.         """
    8. \n \n
    9.         query_params = request.query_params.copy()
    10. \n \n
    11. \n \n
    12.         filter_query_params = {}
    13. \n \n
    \n \n
      \n
    1.         filter_fields = self.prepare_filter_fields(view)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for query_param in query_params:
    2. \n \n
    3.             query_param_list = self.split_lookup_filter(
    4. \n \n
    5.                 query_param,
    6. \n \n
    7.                 maxsplit=1
    8. \n \n
    9.             )
    10. \n \n
    11.             field_name = query_param_list[0]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    filter_query_params
    {}
    query_params
    <QueryDict: {'search': ['user.username:mojit']}>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:mojit'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend object at 0x000001EBEA71ABA0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 108, in prepare_filter_fields\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         for field, options in filter_fields.items():
    3. \n \n
    4.             if options is None or isinstance(options, string_types):
    5. \n \n
    6.                 filter_fields[field] = {
    7. \n \n
    8.                     'field': options or field
    9. \n \n
    10.                 }
    11. \n \n
    12.             elif 'field' not in filter_fields[field]:
    13. \n \n
    \n \n
      \n
    1.                 filter_fields[field]['field'] = field\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if 'lookups' not in filter_fields[field]:
    3. \n \n
    4.                 filter_fields[field]['lookups'] = tuple(
    5. \n \n
    6.                     ALL_LOOKUP_FILTERS_AND_QUERIES
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend'>
    field
    'user'
    filter_fields
    {'user': ['user.username.raw', 'user.mobile.raw']}
    options
    ['user.username.raw', 'user.mobile.raw']
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA6EA750>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'user.username:mojit'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=user.username:mojit'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001EBE6C550C0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:21:09.094911"}, "67": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 321, "body_response": "\n\n\n \n \n TypeError\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

TypeError\n at /search/api/v1/user_relation_search/

\n
list indices must be integers or slices, not str
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=user.username:moji
Django Version:4.2.21
Exception Type:TypeError
Exception Value:
list indices must be integers or slices, not str
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 108, in prepare_filter_fields
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 06:51:11 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError('list indices must be integers or slices, not str')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001EBE6C54FB0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001EBEA229C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001EBE6C54FB0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001EBEA229C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000001EBEA229A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>}
    exc
    TypeError('list indices must be integers or slices, not str')
    exception_handler
    <function exception_handler at 0x000001EBEA16A020>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError('list indices must be integers or slices, not str')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 38, in list\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class ListModelMixin:
    4. \n \n
    5.     """
    6. \n \n
    7.     List a queryset.
    8. \n \n
    9.     """
    10. \n \n
    11.     def list(self, request, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         queryset = self.filter_queryset(self.get_queryset())\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         page = self.paginate_queryset(queryset)
    3. \n \n
    4.         if page is not None:
    5. \n \n
    6.             serializer = self.get_serializer(page, many=True)
    7. \n \n
    8.             return self.get_paginated_response(serializer.data)
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 154, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         You are unlikely to want to override this method, although you may need
    3. \n \n
    4.         to call it either from a list view, or from a custom `get_object`
    5. \n \n
    6.         method if you want to apply the configured filtering backend to the
    7. \n \n
    8.         default queryset.
    9. \n \n
    10.         """
    11. \n \n
    12.         for backend in list(self.filter_backends):
    13. \n \n
    \n \n
      \n
    1.             queryset = backend().filter_queryset(self.request, queryset, self)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return queryset
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def paginator(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         The paginator instance associated with the view, or `None`.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    backend
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend'>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001EBEA719D90>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 787, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1.         :param view: View.
    2. \n \n
    3.         :type request: rest_framework.request.Request
    4. \n \n
    5.         :type queryset: elasticsearch_dsl.search.Search
    6. \n \n
    7.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    8. \n \n
    9.         :return: Updated queryset.
    10. \n \n
    11.         :rtype: elasticsearch_dsl.search.Search
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         filter_query_params = self.get_filter_query_params(request, view)\n                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for options in filter_query_params.values():
    2. \n \n
    3.             # When no specific lookup given, in case of multiple values
    4. \n \n
    5.             # we apply `terms` filter by default and proceed to the next
    6. \n \n
    7.             # query param.
    8. \n \n
    9.             if isinstance(options['values'], (list, tuple)) \\
    10. \n \n
    11.                     and options['lookup'] is None:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001EBEA719D90>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend object at 0x000001EBEA974920>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 727, in get_filter_query_params\n \n\n \n
    \n \n
      \n \n
    1.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    2. \n \n
    3.         :return: Request query params to filter on.
    4. \n \n
    5.         :rtype: dict
    6. \n \n
    7.         """
    8. \n \n
    9.         query_params = request.query_params.copy()
    10. \n \n
    11. \n \n
    12.         filter_query_params = {}
    13. \n \n
    \n \n
      \n
    1.         filter_fields = self.prepare_filter_fields(view)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for query_param in query_params:
    2. \n \n
    3.             query_param_list = self.split_lookup_filter(
    4. \n \n
    5.                 query_param,
    6. \n \n
    7.                 maxsplit=1
    8. \n \n
    9.             )
    10. \n \n
    11.             field_name = query_param_list[0]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    filter_query_params
    {}
    query_params
    <QueryDict: {'search': ['user.username:moji']}>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=user.username:moji'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend object at 0x000001EBEA974920>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\filtering\\common.py, line 108, in prepare_filter_fields\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         for field, options in filter_fields.items():
    3. \n \n
    4.             if options is None or isinstance(options, string_types):
    5. \n \n
    6.                 filter_fields[field] = {
    7. \n \n
    8.                     'field': options or field
    9. \n \n
    10.                 }
    11. \n \n
    12.             elif 'field' not in filter_fields[field]:
    13. \n \n
    \n \n
      \n
    1.                 filter_fields[field]['field'] = field\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if 'lookups' not in filter_fields[field]:
    3. \n \n
    4.                 filter_fields[field]['lookups'] = tuple(
    5. \n \n
    6.                     ALL_LOOKUP_FILTERS_AND_QUERIES
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.filter_backends.filtering.common.FilteringFilterBackend'>
    field
    'user'
    filter_fields
    {'user': ['user.username.raw', 'user.mobile.raw']}
    options
    ['user.username.raw', 'user.mobile.raw']
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001EBEA416F90>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'user.username:moji'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=user.username:moji'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001EBEA6EB3D0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:21:11.259417"}, "68": {"endpoint": "/search/api/v1/user_relation_search/?search=user:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 759, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:23:53.189708"}, "69": {"endpoint": "/search/api/v1/user_relation_search/?search=", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 405, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:24:16.462911"}, "70": {"endpoint": "/search/api/v1/user_relation_search/?search=user", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 510, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:24:21.243312"}, "71": {"endpoint": "/search/api/v1/user_relation_search/?search=user:", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 453, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:24:24.637875"}, "72": {"endpoint": "/search/api/v1/user_relation_search/?search=user:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 374, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:24:33.510454"}, "73": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 403, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:24:46.192548"}, "74": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 770, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:17.837523"}, "75": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 419, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:31.251996"}, "76": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:0938965", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 412, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:35.047216"}, "77": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 433, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:40.526442"}, "78": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 777, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:50.325634"}, "79": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 442, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:25:52.403373"}, "80": {"endpoint": "/search/api/v1/user_relation_search/?search=user.mobile:09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 487, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:26:09.815326"}, "81": {"endpoint": "/search/api/v1/user_relation_search/?search=user.national_code:4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 442, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:26:33.478705"}, "82": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.name=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 387, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:27:26.990795"}, "83": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.national_unique_id=1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 415, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:29:42.044612"}, "84": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.national_unique_id=1225875556644", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 397, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:29:53.355620"}, "85": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.national_unique_id=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 385, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:29:58.994800"}, "86": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 778, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:38:55.629296"}, "87": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 464, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:39:26.219436"}, "88": {"endpoint": "/search/api/v1/user_relation_search/?search=mopomk433dd", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 422, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:39:36.904910"}, "89": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 507, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:39:56.093631"}, "90": {"endpoint": "/search/api/v1/user_relation_search/?search=housh", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 474, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:40:12.403223"}, "91": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 426, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:40:28.348284"}, "92": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 434, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:40:55.216009"}, "93": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 401, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:41:03.930538"}, "94": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 362, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:43:31.126650"}, "95": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 403, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:43:33.608527"}, "96": {"endpoint": "/search/api/v1/user_relation_search/?search=modjssswssq", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 444, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:45:03.871003"}, "97": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 393, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:45:08.982589"}, "98": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 458, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:45:16.937723"}, "99": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86%2009389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 447, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:45:57.658521"}, "100": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86%2009389657326%20%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 391, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:46:44.890193"}, "101": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86%20%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 436, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:47:06.360107"}, "102": {"endpoint": "/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10459, "body_response": "\n\n\n \n \n ConnectionTimeout\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

ConnectionTimeout\n at /search/api/v1/user_relation_search/

\n
Connection timed out
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss
Django Version:4.2.21
Exception Type:ConnectionTimeout
Exception Value:
Connection timed out
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 07:26:01 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 534, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 raise ReadTimeoutError(
    2. \n \n
    3.                     self, url, f"Read timed out. (read timeout={read_timeout})"
    4. \n \n
    5.                 )
    6. \n \n
    7.             conn.timeout = read_timeout
    8. \n \n
    9. \n \n
    10.         # Receive the response from the server
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             response = conn.getresponse()\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (BaseSSLError, OSError) as e:
    2. \n \n
    3.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    4. \n \n
    5.             raise
    6. \n \n
    7. \n \n
    8.         # Set properties that are used by the pooling layer.
    9. \n \n
    10.         response.retries = retries
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F1493BE9F0>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connection.py, line 516, in getresponse\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Save a reference to the shutdown function before ownership is passed
    3. \n \n
    4.         # to httplib_response
    5. \n \n
    6.         # TODO should we implement it everywhere?
    7. \n \n
    8.         _shutdown = getattr(self.sock, "shutdown", None)
    9. \n \n
    10. \n \n
    11.         # Get the response from http.client.HTTPConnection
    12. \n \n
    \n \n
      \n
    1.         httplib_response = super().getresponse()\n                                ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         try:
    3. \n \n
    4.             assert_header_parsing(httplib_response.msg)
    5. \n \n
    6.         except (HeaderParsingError, TypeError) as hpe:
    7. \n \n
    8.             log.warning(
    9. \n \n
    10.                 "Failed to parse headers (url=%s): %s",
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    HTTPResponse
    <class 'urllib3.response.HTTPResponse'>
    __class__
    <class 'urllib3.connection.HTTPConnection'>
    _shutdown
    <built-in method shutdown of socket object at 0x000001F1494ABAF0>
    resp_options
    _ResponseOptions(request_method='POST', request_url='/userrelations/_count', preload_content=True, decode_content=True, enforce_content_length=True)
    self
    <urllib3.connection.HTTPConnection object at 0x000001F1493BE9F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 1411, in getresponse\n \n\n \n
    \n \n
      \n \n
    1.             response = self.response_class(self.sock, self.debuglevel,
    2. \n \n
    3.                                            method=self._method)
    4. \n \n
    5.         else:
    6. \n \n
    7.             response = self.response_class(self.sock, method=self._method)
    8. \n \n
    9. \n \n
    10.         try:
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response.begin()\n                      ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except ConnectionError:
    2. \n \n
    3.                 self.close()
    4. \n \n
    5.                 raise
    6. \n \n
    7.             assert response.will_close != _UNKNOWN
    8. \n \n
    9.             self.__state = _CS_IDLE
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    response
    <http.client.HTTPResponse object at 0x000001F1496716C0>
    self
    <urllib3.connection.HTTPConnection object at 0x000001F1493BE9F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 324, in begin\n \n\n \n
    \n \n
      \n \n
    1.     def begin(self):
    2. \n \n
    3.         if self.headers is not None:
    4. \n \n
    5.             # we've already started reading the response
    6. \n \n
    7.             return
    8. \n \n
    9. \n \n
    10.         # read until we get a non-100 response
    11. \n \n
    12.         while True:
    13. \n \n
    \n \n
      \n
    1.             version, status, reason = self._read_status()\n                                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if status != CONTINUE:
    2. \n \n
    3.                 break
    4. \n \n
    5.             # skip the header from the 100 response
    6. \n \n
    7.             skipped_headers = _read_headers(self.fp)
    8. \n \n
    9.             if self.debuglevel > 0:
    10. \n \n
    11.                 print("headers:", skipped_headers)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F1496716C0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 285, in _read_status\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         self.chunked = _UNKNOWN         # is "chunked" being used?
    3. \n \n
    4.         self.chunk_left = _UNKNOWN      # bytes left to read in current chunk
    5. \n \n
    6.         self.length = _UNKNOWN          # number of bytes left in response
    7. \n \n
    8.         self.will_close = _UNKNOWN      # conn will close at end of response
    9. \n \n
    10. \n \n
    11.     def _read_status(self):
    12. \n \n
    \n \n
      \n
    1.         line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if len(line) > _MAXLINE:
    2. \n \n
    3.             raise LineTooLong("status line")
    4. \n \n
    5.         if self.debuglevel > 0:
    6. \n \n
    7.             print("reply:", repr(line))
    8. \n \n
    9.         if not line:
    10. \n \n
    11.             # Presumably, the server closed the connection before
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F1496716C0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\socket.py, line 707, in readinto\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         self._checkClosed()
    4. \n \n
    5.         self._checkReadable()
    6. \n \n
    7.         if self._timeout_occurred:
    8. \n \n
    9.             raise OSError("cannot read from timed out object")
    10. \n \n
    11.         while True:
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 return self._sock.recv_into(b)\n                            ^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except timeout:
    2. \n \n
    3.                 self._timeout_occurred = True
    4. \n \n
    5.                 raise
    6. \n \n
    7.             except error as e:
    8. \n \n
    9.                 if e.errno in _blocking_errnos:
    10. \n \n
    11.                     return None
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    b
    <memory at 0x000001F14958F700>
    self
    <socket.SocketIO object at 0x000001F149671D80>
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (timed out) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 167, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     body_to_send = gzip.compress(body)
    2. \n \n
    3.                     request_headers["content-encoding"] = "gzip"
    4. \n \n
    5.                 else:
    6. \n \n
    7.                     body_to_send = body
    8. \n \n
    9.             else:
    10. \n \n
    11.                 body_to_send = None
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = self.pool.urlopen(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method,
    2. \n \n
    3.                 target,
    4. \n \n
    5.                 body=body_to_send,
    6. \n \n
    7.                 retries=Retry(False),
    8. \n \n
    9.                 headers=request_headers,
    10. \n \n
    11.                 **kw,  # type: ignore[arg-type]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747553151.436914
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 841, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.                     HTTPException,
    2. \n \n
    3.                 ),
    4. \n \n
    5.             ) and (conn and conn.proxy and not conn.has_connected_to_proxy):
    6. \n \n
    7.                 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
    8. \n \n
    9.             elif isinstance(new_e, (OSError, HTTPException)):
    10. \n \n
    11.                 new_e = ProtocolError("Connection aborted.", new_e)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             retries = retries.increment(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    2. \n \n
    3.             )
    4. \n \n
    5.             retries.sleep()
    6. \n \n
    7. \n \n
    8.             # Keep track of the error for the retry warning.
    9. \n \n
    10.             err = e
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\retry.py, line 449, in increment\n \n\n \n
    \n \n
      \n \n
    1.         :param Exception error: An error encountered during the request, or
    2. \n \n
    3.             None if the response was received successfully.
    4. \n \n
    5. \n \n
    6.         :return: A new ``Retry`` object.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.total is False and error:
    11. \n \n
    12.             # Disabled, indicate to re-raise the error.
    13. \n \n
    \n \n
      \n
    1.             raise reraise(type(error), error, _stacktrace)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         total = self.total
    3. \n \n
    4.         if total is not None:
    5. \n \n
    6.             total -= 1
    7. \n \n
    8. \n \n
    9.         connect = self.connect
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _pool
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    _stacktrace
    <traceback object at 0x000001F149523780>
    error
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    method
    'POST'
    response
    None
    self
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\util.py, line 39, in reraise\n \n\n \n
    \n \n
      \n \n
    1.     tp: type[BaseException] | None,
    2. \n \n
    3.     value: BaseException,
    4. \n \n
    5.     tb: TracebackType | None = None,
    6. \n \n
    7. ) -> typing.NoReturn:
    8. \n \n
    9.     try:
    10. \n \n
    11.         if value.__traceback__ is not tb:
    12. \n \n
    13.             raise value.with_traceback(tb)
    14. \n \n
    \n \n
      \n
    1.         raise value\n            ^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     finally:
    2. \n \n
    3.         value = None  # type: ignore[assignment]
    4. \n \n
    5.         tb = None
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    tb
    None
    tp
    <class 'urllib3.exceptions.ReadTimeoutError'>
    value
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 787, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.             # If we're going to release the connection in ``finally:``, then
    2. \n \n
    3.             # the response doesn't need to know about the connection. Otherwise
    4. \n \n
    5.             # it will also try to release it and we'll have a double-release
    6. \n \n
    7.             # mess.
    8. \n \n
    9.             response_conn = conn if not release_conn else None
    10. \n \n
    11. \n \n
    12.             # Make the request on the HTTPConnection object
    13. \n \n
    \n \n
      \n
    1.             response = self._make_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 conn,
    2. \n \n
    3.                 method,
    4. \n \n
    5.                 url,
    6. \n \n
    7.                 timeout=timeout_obj,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 headers=headers,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 536, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             conn.timeout = read_timeout
    4. \n \n
    5. \n \n
    6.         # Receive the response from the server
    7. \n \n
    8.         try:
    9. \n \n
    10.             response = conn.getresponse()
    11. \n \n
    12.         except (BaseSSLError, OSError) as e:
    13. \n \n
    \n \n
      \n
    1.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise
    2. \n \n
    3. \n \n
    4.         # Set properties that are used by the pooling layer.
    5. \n \n
    6.         response.retries = retries
    7. \n \n
    8.         response._connection = response_conn  # type: ignore[attr-defined]
    9. \n \n
    10.         response._pool = self  # type: ignore[attr-defined]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F1493BE9F0>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 367, in _raise_timeout\n \n\n \n
    \n \n
      \n \n
    1.         err: BaseSSLError | OSError | SocketTimeout,
    2. \n \n
    3.         url: str,
    4. \n \n
    5.         timeout_value: _TYPE_TIMEOUT | None,
    6. \n \n
    7.     ) -> None:
    8. \n \n
    9.         """Is the error actually a timeout? Will raise a ReadTimeout or pass"""
    10. \n \n
    11. \n \n
    12.         if isinstance(err, SocketTimeout):
    13. \n \n
    \n \n
      \n
    1.             raise ReadTimeoutError(\n                 ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self, url, f"Read timed out. (read timeout={timeout_value})"
    2. \n \n
    3.             ) from err
    4. \n \n
    5. \n \n
    6.         # See the above comment about EAGAIN in Python 3.
    7. \n \n
    8.         if hasattr(err, "errno") and err.errno in _blocking_errnos:
    9. \n \n
    10.             raise ReadTimeoutError(
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    err
    TimeoutError('timed out')
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout_value
    10.0
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000001F149069A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>}
    exc
    ConnectionTimeout('Connection timed out during request')
    exception_handler
    <function exception_handler at 0x000001F148F89E40>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 40, in list\n \n\n \n
    \n \n
      \n \n
    1. class ListModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     List a queryset.
    6. \n \n
    7.     """
    8. \n \n
    9.     def list(self, request, *args, **kwargs):
    10. \n \n
    11.         queryset = self.filter_queryset(self.get_queryset())
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if page is not None:
    2. \n \n
    3.             serializer = self.get_serializer(page, many=True)
    4. \n \n
    5.             return self.get_paginated_response(serializer.data)
    6. \n \n
    7. \n \n
    8.         serializer = self.get_serializer(queryset, many=True)
    9. \n \n
    10.         return Response(serializer.data)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149670080>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149670080>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 194, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # Something weird is happening here. If None returned before the
    2. \n \n
    3.         # following code, post_filter works. If None returned after this code
    4. \n \n
    5.         # post_filter does not work. Obviously, something strange happens in
    6. \n \n
    7.         # the paginator.page(page_number) and thus affects the lazy
    8. \n \n
    9.         # queryset in such a way, that we get TransportError(400,
    10. \n \n
    11.         # 'parsing_exception', 'request does not support [post_filter]')
    12. \n \n
    13.         try:
    14. \n \n
    \n \n
      \n
    1.             self.page = paginator.page(page_number)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except django_paginator.InvalidPage as exc:
    2. \n \n
    3.             msg = self.invalid_page_message.format(
    4. \n \n
    5.                 page_number=page_number, message=six.text_type(exc)
    6. \n \n
    7.             )
    8. \n \n
    9.             raise NotFound(msg)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {}
    page_number
    1
    page_size
    25
    paginator
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149670080>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x000001F1496706E0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149671A00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 64, in page\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def page(self, number):
    3. \n \n
    4.         """Returns a Page object for the given 1-based page number.
    5. \n \n
    6. \n \n
    7.         :param number:
    8. \n \n
    9.         :return:
    10. \n \n
    11.         """
    12. \n \n
    \n \n
      \n
    1.         number = self.validate_number(number)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         bottom = (number - 1) * self.per_page
    2. \n \n
    3.         top = bottom + self.per_page
    4. \n \n
    5.         if top + self.orphans >= self.count:
    6. \n \n
    7.             top = self.count
    8. \n \n
    9.         object_list = self.object_list[bottom:top].execute()
    10. \n \n
    11.         __facets = getattr(object_list, 'aggregations', None)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 53, in validate_number\n \n\n \n
    \n \n
      \n \n
    1.             if isinstance(number, float) and not number.is_integer():
    2. \n \n
    3.                 raise ValueError
    4. \n \n
    5.             number = int(number)
    6. \n \n
    7.         except (TypeError, ValueError):
    8. \n \n
    9.             raise PageNotAnInteger(_("That page number is not an integer"))
    10. \n \n
    11.         if number < 1:
    12. \n \n
    13.             raise EmptyPage(_("That page number is less than 1"))
    14. \n \n
    \n \n
      \n
    1.         if number > self.num_pages:\n                        ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise EmptyPage(_("That page contains no results"))
    2. \n \n
    3.         return number
    4. \n \n
    5. \n \n
    6.     def get_page(self, number):
    7. \n \n
    8.         """
    9. \n \n
    10.         Return a valid page, even if the page argument isn't a number or isn't
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 99, in num_pages\n \n\n \n
    \n \n
      \n \n
    1.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    2. \n \n
    3.             return c()
    4. \n \n
    5.         return len(self.object_list)
    6. \n \n
    7. \n \n
    8.     @cached_property
    9. \n \n
    10.     def num_pages(self):
    11. \n \n
    12.         """Return the total number of pages."""
    13. \n \n
    \n \n
      \n
    1.         if self.count == 0 and not self.allow_empty_first_page:\n               ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return 0
    2. \n \n
    3.         hits = max(1, self.count - self.orphans)
    4. \n \n
    5.         return ceil(hits / self.per_page)
    6. \n \n
    7. \n \n
    8.     @property
    9. \n \n
    10.     def page_range(self):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9EE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 93, in count\n \n\n \n
    \n \n
      \n \n
    1.         return Page(*args, **kwargs)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def count(self):
    7. \n \n
    8.         """Return the total number of objects, across all pages."""
    9. \n \n
    10.         c = getattr(self.object_list, "count", None)
    11. \n \n
    12.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    13. \n \n
    \n \n
      \n
    1.             return c()\n                       ^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return len(self.object_list)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def num_pages(self):
    7. \n \n
    8.         """Return the total number of pages."""
    9. \n \n
    10.         if self.count == 0 and not self.allow_empty_first_page:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    c
    <bound method Search.count of <elasticsearch_dsl.search.Search object at 0x000001F149670080>>
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496730B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 723, in count\n \n\n \n
    \n \n
      \n \n
    1.         if hasattr(self, "_response") and self._response.hits.total.relation == "eq":
    2. \n \n
    3.             return self._response.hits.total.value
    4. \n \n
    5. \n \n
    6.         es = get_connection(self._using)
    7. \n \n
    8. \n \n
    9.         d = self.to_dict(count=True)
    10. \n \n
    11.         # TODO: failed shards detection
    12. \n \n
    \n \n
      \n
    1.         resp = es.count(index=self._index, query=d.get("query", None), **self._params)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return resp["count"]
    2. \n \n
    3. \n \n
    4.     def execute(self, ignore_cache=False):
    5. \n \n
    6.         """
    7. \n \n
    8.         Execute the search and return an instance of ``Response`` wrapping all
    9. \n \n
    10.         the data.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    d
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}}
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    self
    <elasticsearch_dsl.search.Search object at 0x000001F149670080>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    api
    <function Elasticsearch.count at 0x000001F1467C4720>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}}
    maybe_transport_options
    set()
    parameter_aliases
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 915, in count\n \n\n \n
    \n \n
      \n \n
    1.         if terminate_after is not None:
    2. \n \n
    3.             __query["terminate_after"] = terminate_after
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                    
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_name="document",
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_count'
    _Elasticsearch__query
    {}
    allow_no_indices
    None
    analyze_wildcard
    None
    analyzer
    None
    default_operator
    None
    df
    None
    error_trace
    None
    expand_wildcards
    None
    filter_path
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    lenient
    None
    min_score
    None
    preference
    None
    pretty
    None
    q
    None
    query
    {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                     {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}
    routing
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    terminate_after
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 285, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.         mimetype_header_to_compat("Content-Type")
    2. \n \n
    3. \n \n
    4.         if params:
    5. \n \n
    6.             target = f"{path}?{_quote_query(params)}"
    7. \n \n
    8.         else:
    9. \n \n
    10.             target = path
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         meta, resp_body = self.transport.perform_request(\n                               
      \u2026
    2. \n
    \n \n
      \n \n
    1.             method,
    2. \n \n
    3.             target,
    4. \n \n
    5.             headers=request_headers,
    6. \n \n
    7.             body=body,
    8. \n \n
    9.             request_timeout=self._request_timeout,
    10. \n \n
    11.             max_retries=self._max_retries,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}}
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x000001F1495B4C20>
    params
    {}
    path
    '/userrelations/_count'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_transport.py, line 342, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             retry = False
    2. \n \n
    3.             node_failure = False
    4. \n \n
    5.             last_response: Optional[TransportApiResponse] = None
    6. \n \n
    7.             node = self.node_pool.get()
    8. \n \n
    9.             start_time = time.time()
    10. \n \n
    11.             try:
    12. \n \n
    13.                 otel_span.set_node_metadata(node.host, node.port, node.base_url, target)
    14. \n \n
    \n \n
      \n
    1.                 resp = node.perform_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     method,
    2. \n \n
    3.                     target,
    4. \n \n
    5.                     body=request_body,
    6. \n \n
    7.                     headers=request_headers,
    8. \n \n
    9.                     request_timeout=request_timeout,
    10. \n \n
    11.                 )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attempt
    0
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.mobile': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.national_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.city.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'user.province.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.name': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.type.key': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.national_unique_id': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'organization.company_code': {'query': 'mopomk433dd|mopomk433ddss'}}},\n                               {'match': {'role.role_name': {'query': 'mopomk433dd|mopomk433ddss'}}}]}}}
    client_meta
    <DEFAULT>
    errors
    []
    headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    last_response
    None
    max_retries
    3
    method
    'POST'
    node
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    node_failure
    True
    otel_span
    <elastic_transport.OpenTelemetrySpan object at 0x000001F1496731A0>
    request_body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    request_headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    retry
    False
    retry_on_status
    (429, 502, 503, 504)
    retry_on_timeout
    False
    self
    <elastic_transport.Transport object at 0x000001F1493BFC80>
    start_time
    1747553151.436914
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             self._log_request(
    2. \n \n
    3.                 method=method,
    4. \n \n
    5.                 target=target,
    6. \n \n
    7.                 headers=request_headers,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 exception=err,
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             raise err from e\n                 ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         meta = ApiResponseMeta(
    3. \n \n
    4.             node=self.config,
    5. \n \n
    6.             duration=duration,
    7. \n \n
    8.             http_version="1.1",
    9. \n \n
    10.             status=response.status,
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"mopomk433dd|'\n b'mopomk433ddss"}}},{"match":{"user.mobile":{"query":"mopomk433dd|mopomk433dds'\n b's"}}},{"match":{"user.national_code":{"query":"mopomk433dd|mopomk433ddss"}}}'\n b',{"match":{"user.city.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match"'\n b':{"user.province.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.name":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organiza'\n b'tion.type.key":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"organizati'\n b'on.national_unique_id":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"or'\n b'ganization.company_code":{"query":"mopomk433dd|mopomk433ddss"}}},{"match":{"'\n b'role.role_name":{"query":"mopomk433dd|mopomk433ddss"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747553151.436914
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'mopomk433dd|mopomk433ddss'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=mopomk433dd|mopomk433ddss'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001F1496A8EE0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:56:01.747570"}, "103": {"endpoint": "/search/api/v1/user_relation_search/?search=mopomk433dd%7Cmopomk433ddss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 472, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:56:06.722405"}, "104": {"endpoint": "/search/api/v1/user_relation_search/?search=mopomk433dd&mopomk433ddss", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 422, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:56:37.888505"}, "105": {"endpoint": "/search/api/v1/user_relation_search/?search=mopomk433dd&4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 459, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:56:50.775069"}, "106": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 457, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:56:57.910948"}, "107": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598&%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:57:17.287232"}, "108": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&&%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 442, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:57:27.098653"}, "109": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 331, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:57:34.944700"}, "110": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF%7C09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 681, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:57:47.673660"}, "111": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF&09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 409, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:58:12.712857"}, "112": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF&09389657326&mopomk433dd", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 410, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:58:41.941009"}, "113": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF&mopomk433dd&09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 498, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:59:07.185320"}, "114": {"endpoint": "/search/api/v1/user_relation_search/?search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF&09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 406, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 10:59:19.818968"}, "115": {"endpoint": "/search/api/v1/user_relation_search/?search=*0938965", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10393, "body_response": "\n\n\n \n \n ConnectionTimeout\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

ConnectionTimeout\n at /search/api/v1/user_relation_search/

\n
Connection timed out
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=*0938965
Django Version:4.2.21
Exception Type:ConnectionTimeout
Exception Value:
Connection timed out
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 07:37:24 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 534, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 raise ReadTimeoutError(
    2. \n \n
    3.                     self, url, f"Read timed out. (read timeout={read_timeout})"
    4. \n \n
    5.                 )
    6. \n \n
    7.             conn.timeout = read_timeout
    8. \n \n
    9. \n \n
    10.         # Receive the response from the server
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             response = conn.getresponse()\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (BaseSSLError, OSError) as e:
    2. \n \n
    3.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    4. \n \n
    5.             raise
    6. \n \n
    7. \n \n
    8.         # Set properties that are used by the pooling layer.
    9. \n \n
    10.         response.retries = retries
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F149705400>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connection.py, line 516, in getresponse\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Save a reference to the shutdown function before ownership is passed
    3. \n \n
    4.         # to httplib_response
    5. \n \n
    6.         # TODO should we implement it everywhere?
    7. \n \n
    8.         _shutdown = getattr(self.sock, "shutdown", None)
    9. \n \n
    10. \n \n
    11.         # Get the response from http.client.HTTPConnection
    12. \n \n
    \n \n
      \n
    1.         httplib_response = super().getresponse()\n                                ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         try:
    3. \n \n
    4.             assert_header_parsing(httplib_response.msg)
    5. \n \n
    6.         except (HeaderParsingError, TypeError) as hpe:
    7. \n \n
    8.             log.warning(
    9. \n \n
    10.                 "Failed to parse headers (url=%s): %s",
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    HTTPResponse
    <class 'urllib3.response.HTTPResponse'>
    __class__
    <class 'urllib3.connection.HTTPConnection'>
    _shutdown
    <built-in method shutdown of socket object at 0x000001F149864210>
    resp_options
    _ResponseOptions(request_method='POST', request_url='/userrelations/_count', preload_content=True, decode_content=True, enforce_content_length=True)
    self
    <urllib3.connection.HTTPConnection object at 0x000001F149705400>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 1411, in getresponse\n \n\n \n
    \n \n
      \n \n
    1.             response = self.response_class(self.sock, self.debuglevel,
    2. \n \n
    3.                                            method=self._method)
    4. \n \n
    5.         else:
    6. \n \n
    7.             response = self.response_class(self.sock, method=self._method)
    8. \n \n
    9. \n \n
    10.         try:
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response.begin()\n                      ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except ConnectionError:
    2. \n \n
    3.                 self.close()
    4. \n \n
    5.                 raise
    6. \n \n
    7.             assert response.will_close != _UNKNOWN
    8. \n \n
    9.             self.__state = _CS_IDLE
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    response
    <http.client.HTTPResponse object at 0x000001F14900D360>
    self
    <urllib3.connection.HTTPConnection object at 0x000001F149705400>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 324, in begin\n \n\n \n
    \n \n
      \n \n
    1.     def begin(self):
    2. \n \n
    3.         if self.headers is not None:
    4. \n \n
    5.             # we've already started reading the response
    6. \n \n
    7.             return
    8. \n \n
    9. \n \n
    10.         # read until we get a non-100 response
    11. \n \n
    12.         while True:
    13. \n \n
    \n \n
      \n
    1.             version, status, reason = self._read_status()\n                                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if status != CONTINUE:
    2. \n \n
    3.                 break
    4. \n \n
    5.             # skip the header from the 100 response
    6. \n \n
    7.             skipped_headers = _read_headers(self.fp)
    8. \n \n
    9.             if self.debuglevel > 0:
    10. \n \n
    11.                 print("headers:", skipped_headers)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F14900D360>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 285, in _read_status\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         self.chunked = _UNKNOWN         # is "chunked" being used?
    3. \n \n
    4.         self.chunk_left = _UNKNOWN      # bytes left to read in current chunk
    5. \n \n
    6.         self.length = _UNKNOWN          # number of bytes left in response
    7. \n \n
    8.         self.will_close = _UNKNOWN      # conn will close at end of response
    9. \n \n
    10. \n \n
    11.     def _read_status(self):
    12. \n \n
    \n \n
      \n
    1.         line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if len(line) > _MAXLINE:
    2. \n \n
    3.             raise LineTooLong("status line")
    4. \n \n
    5.         if self.debuglevel > 0:
    6. \n \n
    7.             print("reply:", repr(line))
    8. \n \n
    9.         if not line:
    10. \n \n
    11.             # Presumably, the server closed the connection before
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F14900D360>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\socket.py, line 707, in readinto\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         self._checkClosed()
    4. \n \n
    5.         self._checkReadable()
    6. \n \n
    7.         if self._timeout_occurred:
    8. \n \n
    9.             raise OSError("cannot read from timed out object")
    10. \n \n
    11.         while True:
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 return self._sock.recv_into(b)\n                            ^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except timeout:
    2. \n \n
    3.                 self._timeout_occurred = True
    4. \n \n
    5.                 raise
    6. \n \n
    7.             except error as e:
    8. \n \n
    9.                 if e.errno in _blocking_errnos:
    10. \n \n
    11.                     return None
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    b
    <memory at 0x000001F14958DE40>
    self
    <socket.SocketIO object at 0x000001F149602950>
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (timed out) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 167, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     body_to_send = gzip.compress(body)
    2. \n \n
    3.                     request_headers["content-encoding"] = "gzip"
    4. \n \n
    5.                 else:
    6. \n \n
    7.                     body_to_send = body
    8. \n \n
    9.             else:
    10. \n \n
    11.                 body_to_send = None
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = self.pool.urlopen(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method,
    2. \n \n
    3.                 target,
    4. \n \n
    5.                 body=body_to_send,
    6. \n \n
    7.                 retries=Retry(False),
    8. \n \n
    9.                 headers=request_headers,
    10. \n \n
    11.                 **kw,  # type: ignore[arg-type]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747553834.1505961
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 841, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.                     HTTPException,
    2. \n \n
    3.                 ),
    4. \n \n
    5.             ) and (conn and conn.proxy and not conn.has_connected_to_proxy):
    6. \n \n
    7.                 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
    8. \n \n
    9.             elif isinstance(new_e, (OSError, HTTPException)):
    10. \n \n
    11.                 new_e = ProtocolError("Connection aborted.", new_e)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             retries = retries.increment(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    2. \n \n
    3.             )
    4. \n \n
    5.             retries.sleep()
    6. \n \n
    7. \n \n
    8.             # Keep track of the error for the retry warning.
    9. \n \n
    10.             err = e
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\retry.py, line 449, in increment\n \n\n \n
    \n \n
      \n \n
    1.         :param Exception error: An error encountered during the request, or
    2. \n \n
    3.             None if the response was received successfully.
    4. \n \n
    5. \n \n
    6.         :return: A new ``Retry`` object.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.total is False and error:
    11. \n \n
    12.             # Disabled, indicate to re-raise the error.
    13. \n \n
    \n \n
      \n
    1.             raise reraise(type(error), error, _stacktrace)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         total = self.total
    3. \n \n
    4.         if total is not None:
    5. \n \n
    6.             total -= 1
    7. \n \n
    8. \n \n
    9.         connect = self.connect
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _pool
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    _stacktrace
    <traceback object at 0x000001F14968A680>
    error
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    method
    'POST'
    response
    None
    self
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\util.py, line 39, in reraise\n \n\n \n
    \n \n
      \n \n
    1.     tp: type[BaseException] | None,
    2. \n \n
    3.     value: BaseException,
    4. \n \n
    5.     tb: TracebackType | None = None,
    6. \n \n
    7. ) -> typing.NoReturn:
    8. \n \n
    9.     try:
    10. \n \n
    11.         if value.__traceback__ is not tb:
    12. \n \n
    13.             raise value.with_traceback(tb)
    14. \n \n
    \n \n
      \n
    1.         raise value\n            ^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     finally:
    2. \n \n
    3.         value = None  # type: ignore[assignment]
    4. \n \n
    5.         tb = None
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    tb
    None
    tp
    <class 'urllib3.exceptions.ReadTimeoutError'>
    value
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 787, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.             # If we're going to release the connection in ``finally:``, then
    2. \n \n
    3.             # the response doesn't need to know about the connection. Otherwise
    4. \n \n
    5.             # it will also try to release it and we'll have a double-release
    6. \n \n
    7.             # mess.
    8. \n \n
    9.             response_conn = conn if not release_conn else None
    10. \n \n
    11. \n \n
    12.             # Make the request on the HTTPConnection object
    13. \n \n
    \n \n
      \n
    1.             response = self._make_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 conn,
    2. \n \n
    3.                 method,
    4. \n \n
    5.                 url,
    6. \n \n
    7.                 timeout=timeout_obj,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 headers=headers,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 536, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             conn.timeout = read_timeout
    4. \n \n
    5. \n \n
    6.         # Receive the response from the server
    7. \n \n
    8.         try:
    9. \n \n
    10.             response = conn.getresponse()
    11. \n \n
    12.         except (BaseSSLError, OSError) as e:
    13. \n \n
    \n \n
      \n
    1.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise
    2. \n \n
    3. \n \n
    4.         # Set properties that are used by the pooling layer.
    5. \n \n
    6.         response.retries = retries
    7. \n \n
    8.         response._connection = response_conn  # type: ignore[attr-defined]
    9. \n \n
    10.         response._pool = self  # type: ignore[attr-defined]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F149705400>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 367, in _raise_timeout\n \n\n \n
    \n \n
      \n \n
    1.         err: BaseSSLError | OSError | SocketTimeout,
    2. \n \n
    3.         url: str,
    4. \n \n
    5.         timeout_value: _TYPE_TIMEOUT | None,
    6. \n \n
    7.     ) -> None:
    8. \n \n
    9.         """Is the error actually a timeout? Will raise a ReadTimeout or pass"""
    10. \n \n
    11. \n \n
    12.         if isinstance(err, SocketTimeout):
    13. \n \n
    \n \n
      \n
    1.             raise ReadTimeoutError(\n                 ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self, url, f"Read timed out. (read timeout={timeout_value})"
    2. \n \n
    3.             ) from err
    4. \n \n
    5. \n \n
    6.         # See the above comment about EAGAIN in Python 3.
    7. \n \n
    8.         if hasattr(err, "errno") and err.errno in _blocking_errnos:
    9. \n \n
    10.             raise ReadTimeoutError(
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    err
    TimeoutError('timed out')
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout_value
    10.0
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=*0938965'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000001F149069A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>}
    exc
    ConnectionTimeout('Connection timed out during request')
    exception_handler
    <function exception_handler at 0x000001F148F89E40>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 40, in list\n \n\n \n
    \n \n
      \n \n
    1. class ListModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     List a queryset.
    6. \n \n
    7.     """
    8. \n \n
    9.     def list(self, request, *args, **kwargs):
    10. \n \n
    11.         queryset = self.filter_queryset(self.get_queryset())
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if page is not None:
    2. \n \n
    3.             serializer = self.get_serializer(page, many=True)
    4. \n \n
    5.             return self.get_paginated_response(serializer.data)
    6. \n \n
    7. \n \n
    8.         serializer = self.get_serializer(queryset, many=True)
    9. \n \n
    10.         return Response(serializer.data)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149600F50>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149600F50>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 194, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # Something weird is happening here. If None returned before the
    2. \n \n
    3.         # following code, post_filter works. If None returned after this code
    4. \n \n
    5.         # post_filter does not work. Obviously, something strange happens in
    6. \n \n
    7.         # the paginator.page(page_number) and thus affects the lazy
    8. \n \n
    9.         # queryset in such a way, that we get TransportError(400,
    10. \n \n
    11.         # 'parsing_exception', 'request does not support [post_filter]')
    12. \n \n
    13.         try:
    14. \n \n
    \n \n
      \n
    1.             self.page = paginator.page(page_number)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except django_paginator.InvalidPage as exc:
    2. \n \n
    3.             msg = self.invalid_page_message.format(
    4. \n \n
    5.                 page_number=page_number, message=six.text_type(exc)
    6. \n \n
    7.             )
    8. \n \n
    9.             raise NotFound(msg)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {}
    page_number
    1
    page_size
    25
    paginator
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F149600F50>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=*0938965'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x000001F149600B60>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F14964FB30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 64, in page\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def page(self, number):
    3. \n \n
    4.         """Returns a Page object for the given 1-based page number.
    5. \n \n
    6. \n \n
    7.         :param number:
    8. \n \n
    9.         :return:
    10. \n \n
    11.         """
    12. \n \n
    \n \n
      \n
    1.         number = self.validate_number(number)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         bottom = (number - 1) * self.per_page
    2. \n \n
    3.         top = bottom + self.per_page
    4. \n \n
    5.         if top + self.orphans >= self.count:
    6. \n \n
    7.             top = self.count
    8. \n \n
    9.         object_list = self.object_list[bottom:top].execute()
    10. \n \n
    11.         __facets = getattr(object_list, 'aggregations', None)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 53, in validate_number\n \n\n \n
    \n \n
      \n \n
    1.             if isinstance(number, float) and not number.is_integer():
    2. \n \n
    3.                 raise ValueError
    4. \n \n
    5.             number = int(number)
    6. \n \n
    7.         except (TypeError, ValueError):
    8. \n \n
    9.             raise PageNotAnInteger(_("That page number is not an integer"))
    10. \n \n
    11.         if number < 1:
    12. \n \n
    13.             raise EmptyPage(_("That page number is less than 1"))
    14. \n \n
    \n \n
      \n
    1.         if number > self.num_pages:\n                        ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise EmptyPage(_("That page contains no results"))
    2. \n \n
    3.         return number
    4. \n \n
    5. \n \n
    6.     def get_page(self, number):
    7. \n \n
    8.         """
    9. \n \n
    10.         Return a valid page, even if the page argument isn't a number or isn't
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 99, in num_pages\n \n\n \n
    \n \n
      \n \n
    1.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    2. \n \n
    3.             return c()
    4. \n \n
    5.         return len(self.object_list)
    6. \n \n
    7. \n \n
    8.     @cached_property
    9. \n \n
    10.     def num_pages(self):
    11. \n \n
    12.         """Return the total number of pages."""
    13. \n \n
    \n \n
      \n
    1.         if self.count == 0 and not self.allow_empty_first_page:\n               ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return 0
    2. \n \n
    3.         hits = max(1, self.count - self.orphans)
    4. \n \n
    5.         return ceil(hits / self.per_page)
    6. \n \n
    7. \n \n
    8.     @property
    9. \n \n
    10.     def page_range(self):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9EE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 93, in count\n \n\n \n
    \n \n
      \n \n
    1.         return Page(*args, **kwargs)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def count(self):
    7. \n \n
    8.         """Return the total number of objects, across all pages."""
    9. \n \n
    10.         c = getattr(self.object_list, "count", None)
    11. \n \n
    12.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    13. \n \n
    \n \n
      \n
    1.             return c()\n                       ^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return len(self.object_list)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def num_pages(self):
    7. \n \n
    8.         """Return the total number of pages."""
    9. \n \n
    10.         if self.count == 0 and not self.allow_empty_first_page:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    c
    <bound method Search.count of <elasticsearch_dsl.search.Search object at 0x000001F149600F50>>
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F149601790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 723, in count\n \n\n \n
    \n \n
      \n \n
    1.         if hasattr(self, "_response") and self._response.hits.total.relation == "eq":
    2. \n \n
    3.             return self._response.hits.total.value
    4. \n \n
    5. \n \n
    6.         es = get_connection(self._using)
    7. \n \n
    8. \n \n
    9.         d = self.to_dict(count=True)
    10. \n \n
    11.         # TODO: failed shards detection
    12. \n \n
    \n \n
      \n
    1.         resp = es.count(index=self._index, query=d.get("query", None), **self._params)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return resp["count"]
    2. \n \n
    3. \n \n
    4.     def execute(self, ignore_cache=False):
    5. \n \n
    6.         """
    7. \n \n
    8.         Execute the search and return an instance of ``Response`` wrapping all
    9. \n \n
    10.         the data.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    d
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                               {'match': {'user.mobile': {'query': '*0938965'}}},\n                               {'match': {'user.national_code': {'query': '*0938965'}}},\n                               {'match': {'user.city.name': {'query': '*0938965'}}},\n                               {'match': {'user.province.name': {'query': '*0938965'}}},\n                               {'match': {'organization.name': {'query': '*0938965'}}},\n                               {'match': {'organization.type.key': {'query': '*0938965'}}},\n                               {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                               {'match': {'organization.company_code': {'query': '*0938965'}}},\n                               {'match': {'role.role_name': {'query': '*0938965'}}}]}}}
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    self
    <elasticsearch_dsl.search.Search object at 0x000001F149600F50>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    api
    <function Elasticsearch.count at 0x000001F1467C4720>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                               {'match': {'user.mobile': {'query': '*0938965'}}},\n                               {'match': {'user.national_code': {'query': '*0938965'}}},\n                               {'match': {'user.city.name': {'query': '*0938965'}}},\n                               {'match': {'user.province.name': {'query': '*0938965'}}},\n                               {'match': {'organization.name': {'query': '*0938965'}}},\n                               {'match': {'organization.type.key': {'query': '*0938965'}}},\n                               {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                               {'match': {'organization.company_code': {'query': '*0938965'}}},\n                               {'match': {'role.role_name': {'query': '*0938965'}}}]}}}
    maybe_transport_options
    set()
    parameter_aliases
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 915, in count\n \n\n \n
    \n \n
      \n \n
    1.         if terminate_after is not None:
    2. \n \n
    3.             __query["terminate_after"] = terminate_after
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                    
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_name="document",
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                               {'match': {'user.mobile': {'query': '*0938965'}}},\n                               {'match': {'user.national_code': {'query': '*0938965'}}},\n                               {'match': {'user.city.name': {'query': '*0938965'}}},\n                               {'match': {'user.province.name': {'query': '*0938965'}}},\n                               {'match': {'organization.name': {'query': '*0938965'}}},\n                               {'match': {'organization.type.key': {'query': '*0938965'}}},\n                               {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                               {'match': {'organization.company_code': {'query': '*0938965'}}},\n                               {'match': {'role.role_name': {'query': '*0938965'}}}]}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_count'
    _Elasticsearch__query
    {}
    allow_no_indices
    None
    analyze_wildcard
    None
    analyzer
    None
    default_operator
    None
    df
    None
    error_trace
    None
    expand_wildcards
    None
    filter_path
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    lenient
    None
    min_score
    None
    preference
    None
    pretty
    None
    q
    None
    query
    {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                     {'match': {'user.mobile': {'query': '*0938965'}}},\n                     {'match': {'user.national_code': {'query': '*0938965'}}},\n                     {'match': {'user.city.name': {'query': '*0938965'}}},\n                     {'match': {'user.province.name': {'query': '*0938965'}}},\n                     {'match': {'organization.name': {'query': '*0938965'}}},\n                     {'match': {'organization.type.key': {'query': '*0938965'}}},\n                     {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                     {'match': {'organization.company_code': {'query': '*0938965'}}},\n                     {'match': {'role.role_name': {'query': '*0938965'}}}]}}
    routing
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    terminate_after
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 285, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.         mimetype_header_to_compat("Content-Type")
    2. \n \n
    3. \n \n
    4.         if params:
    5. \n \n
    6.             target = f"{path}?{_quote_query(params)}"
    7. \n \n
    8.         else:
    9. \n \n
    10.             target = path
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         meta, resp_body = self.transport.perform_request(\n                               
      \u2026
    2. \n
    \n \n
      \n \n
    1.             method,
    2. \n \n
    3.             target,
    4. \n \n
    5.             headers=request_headers,
    6. \n \n
    7.             body=body,
    8. \n \n
    9.             request_timeout=self._request_timeout,
    10. \n \n
    11.             max_retries=self._max_retries,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                               {'match': {'user.mobile': {'query': '*0938965'}}},\n                               {'match': {'user.national_code': {'query': '*0938965'}}},\n                               {'match': {'user.city.name': {'query': '*0938965'}}},\n                               {'match': {'user.province.name': {'query': '*0938965'}}},\n                               {'match': {'organization.name': {'query': '*0938965'}}},\n                               {'match': {'organization.type.key': {'query': '*0938965'}}},\n                               {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                               {'match': {'organization.company_code': {'query': '*0938965'}}},\n                               {'match': {'role.role_name': {'query': '*0938965'}}}]}}}
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x000001F1495B6E80>
    params
    {}
    path
    '/userrelations/_count'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_transport.py, line 342, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             retry = False
    2. \n \n
    3.             node_failure = False
    4. \n \n
    5.             last_response: Optional[TransportApiResponse] = None
    6. \n \n
    7.             node = self.node_pool.get()
    8. \n \n
    9.             start_time = time.time()
    10. \n \n
    11.             try:
    12. \n \n
    13.                 otel_span.set_node_metadata(node.host, node.port, node.base_url, target)
    14. \n \n
    \n \n
      \n
    1.                 resp = node.perform_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     method,
    2. \n \n
    3.                     target,
    4. \n \n
    5.                     body=request_body,
    6. \n \n
    7.                     headers=request_headers,
    8. \n \n
    9.                     request_timeout=request_timeout,
    10. \n \n
    11.                 )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attempt
    0
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '*0938965'}}},\n                               {'match': {'user.mobile': {'query': '*0938965'}}},\n                               {'match': {'user.national_code': {'query': '*0938965'}}},\n                               {'match': {'user.city.name': {'query': '*0938965'}}},\n                               {'match': {'user.province.name': {'query': '*0938965'}}},\n                               {'match': {'organization.name': {'query': '*0938965'}}},\n                               {'match': {'organization.type.key': {'query': '*0938965'}}},\n                               {'match': {'organization.national_unique_id': {'query': '*0938965'}}},\n                               {'match': {'organization.company_code': {'query': '*0938965'}}},\n                               {'match': {'role.role_name': {'query': '*0938965'}}}]}}}
    client_meta
    <DEFAULT>
    errors
    []
    headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    last_response
    None
    max_retries
    3
    method
    'POST'
    node
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    node_failure
    True
    otel_span
    <elastic_transport.OpenTelemetrySpan object at 0x000001F149602750>
    request_body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    request_headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    retry
    False
    retry_on_status
    (429, 502, 503, 504)
    retry_on_timeout
    False
    self
    <elastic_transport.Transport object at 0x000001F1493BFC80>
    start_time
    1747553834.1505961
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             self._log_request(
    2. \n \n
    3.                 method=method,
    4. \n \n
    5.                 target=target,
    6. \n \n
    7.                 headers=request_headers,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 exception=err,
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             raise err from e\n                 ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         meta = ApiResponseMeta(
    3. \n \n
    4.             node=self.config,
    5. \n \n
    6.             duration=duration,
    7. \n \n
    8.             http_version="1.1",
    9. \n \n
    10.             status=response.status,
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"*0938965"}}}'\n b',{"match":{"user.mobile":{"query":"*0938965"}}},{"match":{"user.national_cod'\n b'e":{"query":"*0938965"}}},{"match":{"user.city.name":{"query":"*0938965"}}},'\n b'{"match":{"user.province.name":{"query":"*0938965"}}},{"match":{"organizatio'\n b'n.name":{"query":"*0938965"}}},{"match":{"organization.type.key":{"query":"*'\n b'0938965"}}},{"match":{"organization.national_unique_id":{"query":"*0938965"}'\n b'}},{"match":{"organization.company_code":{"query":"*0938965"}}},{"match":{"r'\n b'ole.role_name":{"query":"*0938965"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747553834.1505961
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'*0938965'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=*0938965'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001F149670190>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:07:24.488240"}, "116": {"endpoint": "/search/api/v1/user_relation_search/?search=*0938965", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 648, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:07:28.111300"}, "117": {"endpoint": "/search/api/v1/user_relation_search/?search=*09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 482, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:07:35.582680"}, "118": {"endpoint": "/search/api/v1/user_relation_search/?search=*093896573", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 373, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:07:39.555900"}, "119": {"endpoint": "/search/api/v1/user_relation_search/?search=*09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 423, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:07:42.684796"}, "120": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 449, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:13:12.256572"}, "121": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10445, "body_response": "\n\n\n \n \n ConnectionTimeout\n at /search/api/v1/user_relation_search/\n \n \n \n \n\n\n
\n

ConnectionTimeout\n at /search/api/v1/user_relation_search/

\n
Connection timed out
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=09389657326
Django Version:4.2.21
Exception Type:ConnectionTimeout
Exception Value:
Connection timed out
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 07:43:12 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 534, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 raise ReadTimeoutError(
    2. \n \n
    3.                     self, url, f"Read timed out. (read timeout={read_timeout})"
    4. \n \n
    5.                 )
    6. \n \n
    7.             conn.timeout = read_timeout
    8. \n \n
    9. \n \n
    10.         # Receive the response from the server
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             response = conn.getresponse()\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (BaseSSLError, OSError) as e:
    2. \n \n
    3.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    4. \n \n
    5.             raise
    6. \n \n
    7. \n \n
    8.         # Set properties that are used by the pooling layer.
    9. \n \n
    10.         response.retries = retries
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F1493F41A0>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connection.py, line 516, in getresponse\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Save a reference to the shutdown function before ownership is passed
    3. \n \n
    4.         # to httplib_response
    5. \n \n
    6.         # TODO should we implement it everywhere?
    7. \n \n
    8.         _shutdown = getattr(self.sock, "shutdown", None)
    9. \n \n
    10. \n \n
    11.         # Get the response from http.client.HTTPConnection
    12. \n \n
    \n \n
      \n
    1.         httplib_response = super().getresponse()\n                                ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         try:
    3. \n \n
    4.             assert_header_parsing(httplib_response.msg)
    5. \n \n
    6.         except (HeaderParsingError, TypeError) as hpe:
    7. \n \n
    8.             log.warning(
    9. \n \n
    10.                 "Failed to parse headers (url=%s): %s",
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    HTTPResponse
    <class 'urllib3.response.HTTPResponse'>
    __class__
    <class 'urllib3.connection.HTTPConnection'>
    _shutdown
    <built-in method shutdown of socket object at 0x000001F1497B94E0>
    resp_options
    _ResponseOptions(request_method='POST', request_url='/userrelations/_count', preload_content=True, decode_content=True, enforce_content_length=True)
    self
    <urllib3.connection.HTTPConnection object at 0x000001F1493F41A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 1411, in getresponse\n \n\n \n
    \n \n
      \n \n
    1.             response = self.response_class(self.sock, self.debuglevel,
    2. \n \n
    3.                                            method=self._method)
    4. \n \n
    5.         else:
    6. \n \n
    7.             response = self.response_class(self.sock, method=self._method)
    8. \n \n
    9. \n \n
    10.         try:
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response.begin()\n                      ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except ConnectionError:
    2. \n \n
    3.                 self.close()
    4. \n \n
    5.                 raise
    6. \n \n
    7.             assert response.will_close != _UNKNOWN
    8. \n \n
    9.             self.__state = _CS_IDLE
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    response
    <http.client.HTTPResponse object at 0x000001F149618790>
    self
    <urllib3.connection.HTTPConnection object at 0x000001F1493F41A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 324, in begin\n \n\n \n
    \n \n
      \n \n
    1.     def begin(self):
    2. \n \n
    3.         if self.headers is not None:
    4. \n \n
    5.             # we've already started reading the response
    6. \n \n
    7.             return
    8. \n \n
    9. \n \n
    10.         # read until we get a non-100 response
    11. \n \n
    12.         while True:
    13. \n \n
    \n \n
      \n
    1.             version, status, reason = self._read_status()\n                                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if status != CONTINUE:
    2. \n \n
    3.                 break
    4. \n \n
    5.             # skip the header from the 100 response
    6. \n \n
    7.             skipped_headers = _read_headers(self.fp)
    8. \n \n
    9.             if self.debuglevel > 0:
    10. \n \n
    11.                 print("headers:", skipped_headers)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F149618790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\http\\client.py, line 285, in _read_status\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         self.chunked = _UNKNOWN         # is "chunked" being used?
    3. \n \n
    4.         self.chunk_left = _UNKNOWN      # bytes left to read in current chunk
    5. \n \n
    6.         self.length = _UNKNOWN          # number of bytes left in response
    7. \n \n
    8.         self.will_close = _UNKNOWN      # conn will close at end of response
    9. \n \n
    10. \n \n
    11.     def _read_status(self):
    12. \n \n
    \n \n
      \n
    1.         line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if len(line) > _MAXLINE:
    2. \n \n
    3.             raise LineTooLong("status line")
    4. \n \n
    5.         if self.debuglevel > 0:
    6. \n \n
    7.             print("reply:", repr(line))
    8. \n \n
    9.         if not line:
    10. \n \n
    11.             # Presumably, the server closed the connection before
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <http.client.HTTPResponse object at 0x000001F149618790>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\socket.py, line 707, in readinto\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         self._checkClosed()
    4. \n \n
    5.         self._checkReadable()
    6. \n \n
    7.         if self._timeout_occurred:
    8. \n \n
    9.             raise OSError("cannot read from timed out object")
    10. \n \n
    11.         while True:
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 return self._sock.recv_into(b)\n                            ^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except timeout:
    2. \n \n
    3.                 self._timeout_occurred = True
    4. \n \n
    5.                 raise
    6. \n \n
    7.             except error as e:
    8. \n \n
    9.                 if e.errno in _blocking_errnos:
    10. \n \n
    11.                     return None
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    b
    <memory at 0x000001F14958F7C0>
    self
    <socket.SocketIO object at 0x000001F149601AB0>
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (timed out) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 167, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     body_to_send = gzip.compress(body)
    2. \n \n
    3.                     request_headers["content-encoding"] = "gzip"
    4. \n \n
    5.                 else:
    6. \n \n
    7.                     body_to_send = body
    8. \n \n
    9.             else:
    10. \n \n
    11.                 body_to_send = None
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = self.pool.urlopen(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method,
    2. \n \n
    3.                 target,
    4. \n \n
    5.                 body=body_to_send,
    6. \n \n
    7.                 retries=Retry(False),
    8. \n \n
    9.                 headers=request_headers,
    10. \n \n
    11.                 **kw,  # type: ignore[arg-type]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747554182.7508125
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 841, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.                     HTTPException,
    2. \n \n
    3.                 ),
    4. \n \n
    5.             ) and (conn and conn.proxy and not conn.has_connected_to_proxy):
    6. \n \n
    7.                 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme)
    8. \n \n
    9.             elif isinstance(new_e, (OSError, HTTPException)):
    10. \n \n
    11.                 new_e = ProtocolError("Connection aborted.", new_e)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             retries = retries.increment(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
    2. \n \n
    3.             )
    4. \n \n
    5.             retries.sleep()
    6. \n \n
    7. \n \n
    8.             # Keep track of the error for the retry warning.
    9. \n \n
    10.             err = e
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\retry.py, line 449, in increment\n \n\n \n
    \n \n
      \n \n
    1.         :param Exception error: An error encountered during the request, or
    2. \n \n
    3.             None if the response was received successfully.
    4. \n \n
    5. \n \n
    6.         :return: A new ``Retry`` object.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.total is False and error:
    11. \n \n
    12.             # Disabled, indicate to re-raise the error.
    13. \n \n
    \n \n
      \n
    1.             raise reraise(type(error), error, _stacktrace)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         total = self.total
    3. \n \n
    4.         if total is not None:
    5. \n \n
    6.             total -= 1
    7. \n \n
    8. \n \n
    9.         connect = self.connect
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _pool
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    _stacktrace
    <traceback object at 0x000001F149756280>
    error
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    method
    'POST'
    response
    None
    self
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\util\\util.py, line 39, in reraise\n \n\n \n
    \n \n
      \n \n
    1.     tp: type[BaseException] | None,
    2. \n \n
    3.     value: BaseException,
    4. \n \n
    5.     tb: TracebackType | None = None,
    6. \n \n
    7. ) -> typing.NoReturn:
    8. \n \n
    9.     try:
    10. \n \n
    11.         if value.__traceback__ is not tb:
    12. \n \n
    13.             raise value.with_traceback(tb)
    14. \n \n
    \n \n
      \n
    1.         raise value\n            ^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     finally:
    2. \n \n
    3.         value = None  # type: ignore[assignment]
    4. \n \n
    5.         tb = None
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    tb
    None
    tp
    <class 'urllib3.exceptions.ReadTimeoutError'>
    value
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 787, in urlopen\n \n\n \n
    \n \n
      \n \n
    1.             # If we're going to release the connection in ``finally:``, then
    2. \n \n
    3.             # the response doesn't need to know about the connection. Otherwise
    4. \n \n
    5.             # it will also try to release it and we'll have a double-release
    6. \n \n
    7.             # mess.
    8. \n \n
    9.             response_conn = conn if not release_conn else None
    10. \n \n
    11. \n \n
    12.             # Make the request on the HTTPConnection object
    13. \n \n
    \n \n
      \n
    1.             response = self._make_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 conn,
    2. \n \n
    3.                 method,
    4. \n \n
    5.                 url,
    6. \n \n
    7.                 timeout=timeout_obj,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 headers=headers,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    assert_same_host
    True
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    body_pos
    None
    chunked
    False
    clean_exit
    False
    conn
    None
    decode_content
    True
    destination_scheme
    None
    err
    None
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    http_tunnel_required
    False
    method
    'POST'
    new_e
    ReadTimeoutError("HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)")
    parsed_url
    Url(scheme=None, auth=None, host=None, port=None, path='/userrelations/_count', query=None, fragment=None)
    pool_timeout
    None
    preload_content
    True
    redirect
    True
    release_conn
    True
    release_this_conn
    True
    response_conn
    None
    response_kw
    {}
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    <_TYPE_DEFAULT.token: -1>
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 536, in _make_request\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             conn.timeout = read_timeout
    4. \n \n
    5. \n \n
    6.         # Receive the response from the server
    7. \n \n
    8.         try:
    9. \n \n
    10.             response = conn.getresponse()
    11. \n \n
    12.         except (BaseSSLError, OSError) as e:
    13. \n \n
    \n \n
      \n
    1.             self._raise_timeout(err=e, url=url, timeout_value=read_timeout)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise
    2. \n \n
    3. \n \n
    4.         # Set properties that are used by the pooling layer.
    5. \n \n
    6.         response.retries = retries
    7. \n \n
    8.         response._connection = response_conn  # type: ignore[attr-defined]
    9. \n \n
    10.         response._pool = self  # type: ignore[attr-defined]
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    chunked
    False
    conn
    <urllib3.connection.HTTPConnection object at 0x000001F1493F41A0>
    decode_content
    True
    enforce_content_length
    True
    headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    method
    'POST'
    preload_content
    True
    read_timeout
    10.0
    response_conn
    None
    retries
    Retry(total=False, connect=None, read=None, redirect=0, status=None)
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    timeout_obj
    Timeout(connect=<_TYPE_DEFAULT.token: -1>, read=<_TYPE_DEFAULT.token: -1>, total=10.0)
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\urllib3\\connectionpool.py, line 367, in _raise_timeout\n \n\n \n
    \n \n
      \n \n
    1.         err: BaseSSLError | OSError | SocketTimeout,
    2. \n \n
    3.         url: str,
    4. \n \n
    5.         timeout_value: _TYPE_TIMEOUT | None,
    6. \n \n
    7.     ) -> None:
    8. \n \n
    9.         """Is the error actually a timeout? Will raise a ReadTimeout or pass"""
    10. \n \n
    11. \n \n
    12.         if isinstance(err, SocketTimeout):
    13. \n \n
    \n \n
      \n
    1.             raise ReadTimeoutError(\n                 ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self, url, f"Read timed out. (read timeout={timeout_value})"
    2. \n \n
    3.             ) from err
    4. \n \n
    5. \n \n
    6.         # See the above comment about EAGAIN in Python 3.
    7. \n \n
    8.         if hasattr(err, "errno") and err.errno in _blocking_errnos:
    9. \n \n
    10.             raise ReadTimeoutError(
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    err
    TimeoutError('timed out')
    self
    <urllib3.connectionpool.HTTPConnectionPool object at 0x000001F1493F5100>
    timeout_value
    10.0
    url
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (HTTPConnectionPool(host='monte-rosa.liara.cloud', port=31157): Read timed out. (read timeout=10.0)) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001F145A85430>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001F149069C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 56, in wrapper_view\n \n\n \n
    \n \n
      \n \n
    1. def csrf_exempt(view_func):
    2. \n \n
    3.     """Mark a view function as being exempt from the CSRF view protection."""
    4. \n \n
    5. \n \n
    6.     # view_func.csrf_exempt = True would also work, but decorators are nicer
    7. \n \n
    8.     # if they don't have side effects, so return a new function.
    9. \n \n
    10.     @wraps(view_func)
    11. \n \n
    12.     def wrapper_view(*args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.         return view_func(*args, **kwargs)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     wrapper_view.csrf_exempt = True
    3. \n \n
    4.     return wrapper_view
    5. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<WSGIRequest: GET '/search/api/v1/user_relation_search/?search=09389657326'>,)
    kwargs
    {}
    view_func
    <function SearchUsersDocumentViewSet at 0x000001F149069A80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>>
    initkwargs
    {'basename': 'user_relation_search', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>}
    exc
    ConnectionTimeout('Connection timed out during request')
    exception_handler
    <function exception_handler at 0x000001F148F89E40>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ConnectionTimeout('Connection timed out during request')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method ListModelMixin.list of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\mixins.py, line 40, in list\n \n\n \n
    \n \n
      \n \n
    1. class ListModelMixin:
    2. \n \n
    3.     """
    4. \n \n
    5.     List a queryset.
    6. \n \n
    7.     """
    8. \n \n
    9.     def list(self, request, *args, **kwargs):
    10. \n \n
    11.         queryset = self.filter_queryset(self.get_queryset())
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if page is not None:
    2. \n \n
    3.             serializer = self.get_serializer(page, many=True)
    4. \n \n
    5.             return self.get_paginated_response(serializer.data)
    6. \n \n
    7. \n \n
    8.         serializer = self.get_serializer(queryset, many=True)
    9. \n \n
    10.         return Response(serializer.data)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F1496027B0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F1496027B0>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 194, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # Something weird is happening here. If None returned before the
    2. \n \n
    3.         # following code, post_filter works. If None returned after this code
    4. \n \n
    5.         # post_filter does not work. Obviously, something strange happens in
    6. \n \n
    7.         # the paginator.page(page_number) and thus affects the lazy
    8. \n \n
    9.         # queryset in such a way, that we get TransportError(400,
    10. \n \n
    11.         # 'parsing_exception', 'request does not support [post_filter]')
    12. \n \n
    13.         try:
    14. \n \n
    \n \n
      \n
    1.             self.page = paginator.page(page_number)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except django_paginator.InvalidPage as exc:
    2. \n \n
    3.             msg = self.invalid_page_message.format(
    4. \n \n
    5.                 page_number=page_number, message=six.text_type(exc)
    6. \n \n
    7.             )
    8. \n \n
    9.             raise NotFound(msg)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {}
    page_number
    1
    page_size
    25
    paginator
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001F1496027B0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/?search=09389657326'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x000001F149603CE0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001F149611DC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 64, in page\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def page(self, number):
    3. \n \n
    4.         """Returns a Page object for the given 1-based page number.
    5. \n \n
    6. \n \n
    7.         :param number:
    8. \n \n
    9.         :return:
    10. \n \n
    11.         """
    12. \n \n
    \n \n
      \n
    1.         number = self.validate_number(number)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         bottom = (number - 1) * self.per_page
    2. \n \n
    3.         top = bottom + self.per_page
    4. \n \n
    5.         if top + self.orphans >= self.count:
    6. \n \n
    7.             top = self.count
    8. \n \n
    9.         object_list = self.object_list[bottom:top].execute()
    10. \n \n
    11.         __facets = getattr(object_list, 'aggregations', None)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 53, in validate_number\n \n\n \n
    \n \n
      \n \n
    1.             if isinstance(number, float) and not number.is_integer():
    2. \n \n
    3.                 raise ValueError
    4. \n \n
    5.             number = int(number)
    6. \n \n
    7.         except (TypeError, ValueError):
    8. \n \n
    9.             raise PageNotAnInteger(_("That page number is not an integer"))
    10. \n \n
    11.         if number < 1:
    12. \n \n
    13.             raise EmptyPage(_("That page number is less than 1"))
    14. \n \n
    \n \n
      \n
    1.         if number > self.num_pages:\n                        ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             raise EmptyPage(_("That page contains no results"))
    2. \n \n
    3.         return number
    4. \n \n
    5. \n \n
    6.     def get_page(self, number):
    7. \n \n
    8.         """
    9. \n \n
    10.         Return a valid page, even if the page argument isn't a number or isn't
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    number
    1
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 99, in num_pages\n \n\n \n
    \n \n
      \n \n
    1.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    2. \n \n
    3.             return c()
    4. \n \n
    5.         return len(self.object_list)
    6. \n \n
    7. \n \n
    8.     @cached_property
    9. \n \n
    10.     def num_pages(self):
    11. \n \n
    12.         """Return the total number of pages."""
    13. \n \n
    \n \n
      \n
    1.         if self.count == 0 and not self.allow_empty_first_page:\n               ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return 0
    2. \n \n
    3.         hits = max(1, self.count - self.orphans)
    4. \n \n
    5.         return ceil(hits / self.per_page)
    6. \n \n
    7. \n \n
    8.     @property
    9. \n \n
    10.     def page_range(self):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\functional.py, line 57, in __get__\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Call the function and put the return value in instance.__dict__ so that
    4. \n \n
    5.         subsequent attribute access on the instance returns the cached value
    6. \n \n
    7.         instead of calling cached_property.__get__().
    8. \n \n
    9.         """
    10. \n \n
    11.         if instance is None:
    12. \n \n
    13.             return self
    14. \n \n
    \n \n
      \n
    1.         res = instance.__dict__[self.name] = self.func(instance)\n                                                 ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return res
    2. \n \n
    3. \n \n
    4. \n \n
    5. class classproperty:
    6. \n \n
    7.     """
    8. \n \n
    9.     Decorator that converts a method with a single cls argument into a property
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.pagination.Paginator'>
    instance
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    self
    <django.utils.functional.cached_property object at 0x000001F145AA9EE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\paginator.py, line 93, in count\n \n\n \n
    \n \n
      \n \n
    1.         return Page(*args, **kwargs)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def count(self):
    7. \n \n
    8.         """Return the total number of objects, across all pages."""
    9. \n \n
    10.         c = getattr(self.object_list, "count", None)
    11. \n \n
    12.         if callable(c) and not inspect.isbuiltin(c) and method_has_no_args(c):
    13. \n \n
    \n \n
      \n
    1.             return c()\n                       ^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return len(self.object_list)
    2. \n \n
    3. \n \n
    4.     @cached_property
    5. \n \n
    6.     def num_pages(self):
    7. \n \n
    8.         """Return the total number of pages."""
    9. \n \n
    10.         if self.count == 0 and not self.allow_empty_first_page:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    c
    <bound method Search.count of <elasticsearch_dsl.search.Search object at 0x000001F1496027B0>>
    self
    <django_elasticsearch_dsl_drf.pagination.Paginator object at 0x000001F1496036B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 723, in count\n \n\n \n
    \n \n
      \n \n
    1.         if hasattr(self, "_response") and self._response.hits.total.relation == "eq":
    2. \n \n
    3.             return self._response.hits.total.value
    4. \n \n
    5. \n \n
    6.         es = get_connection(self._using)
    7. \n \n
    8. \n \n
    9.         d = self.to_dict(count=True)
    10. \n \n
    11.         # TODO: failed shards detection
    12. \n \n
    \n \n
      \n
    1.         resp = es.count(index=self._index, query=d.get("query", None), **self._params)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return resp["count"]
    2. \n \n
    3. \n \n
    4.     def execute(self, ignore_cache=False):
    5. \n \n
    6.         """
    7. \n \n
    8.         Execute the search and return an instance of ``Response`` wrapping all
    9. \n \n
    10.         the data.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    d
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                               {'match': {'user.mobile': {'query': '09389657326'}}},\n                               {'match': {'user.national_code': {'query': '09389657326'}}},\n                               {'match': {'user.city.name': {'query': '09389657326'}}},\n                               {'match': {'user.province.name': {'query': '09389657326'}}},\n                               {'match': {'organization.name': {'query': '09389657326'}}},\n                               {'match': {'organization.type.key': {'query': '09389657326'}}},\n                               {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                               {'match': {'organization.company_code': {'query': '09389657326'}}},\n                               {'match': {'role.role_name': {'query': '09389657326'}}}]}}}
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    self
    <elasticsearch_dsl.search.Search object at 0x000001F1496027B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    api
    <function Elasticsearch.count at 0x000001F1467C4720>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                               {'match': {'user.mobile': {'query': '09389657326'}}},\n                               {'match': {'user.national_code': {'query': '09389657326'}}},\n                               {'match': {'user.city.name': {'query': '09389657326'}}},\n                               {'match': {'user.province.name': {'query': '09389657326'}}},\n                               {'match': {'organization.name': {'query': '09389657326'}}},\n                               {'match': {'organization.type.key': {'query': '09389657326'}}},\n                               {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                               {'match': {'organization.company_code': {'query': '09389657326'}}},\n                               {'match': {'role.role_name': {'query': '09389657326'}}}]}}}
    maybe_transport_options
    set()
    parameter_aliases
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 915, in count\n \n\n \n
    \n \n
      \n \n
    1.         if terminate_after is not None:
    2. \n \n
    3.             __query["terminate_after"] = terminate_after
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                    
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_name="document",
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                               {'match': {'user.mobile': {'query': '09389657326'}}},\n                               {'match': {'user.national_code': {'query': '09389657326'}}},\n                               {'match': {'user.city.name': {'query': '09389657326'}}},\n                               {'match': {'user.province.name': {'query': '09389657326'}}},\n                               {'match': {'organization.name': {'query': '09389657326'}}},\n                               {'match': {'organization.type.key': {'query': '09389657326'}}},\n                               {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                               {'match': {'organization.company_code': {'query': '09389657326'}}},\n                               {'match': {'role.role_name': {'query': '09389657326'}}}]}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_count'
    _Elasticsearch__query
    {}
    allow_no_indices
    None
    analyze_wildcard
    None
    analyzer
    None
    default_operator
    None
    df
    None
    error_trace
    None
    expand_wildcards
    None
    filter_path
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    lenient
    None
    min_score
    None
    preference
    None
    pretty
    None
    q
    None
    query
    {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                     {'match': {'user.mobile': {'query': '09389657326'}}},\n                     {'match': {'user.national_code': {'query': '09389657326'}}},\n                     {'match': {'user.city.name': {'query': '09389657326'}}},\n                     {'match': {'user.province.name': {'query': '09389657326'}}},\n                     {'match': {'organization.name': {'query': '09389657326'}}},\n                     {'match': {'organization.type.key': {'query': '09389657326'}}},\n                     {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                     {'match': {'organization.company_code': {'query': '09389657326'}}},\n                     {'match': {'role.role_name': {'query': '09389657326'}}}]}}
    routing
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    terminate_after
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 285, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.         mimetype_header_to_compat("Content-Type")
    2. \n \n
    3. \n \n
    4.         if params:
    5. \n \n
    6.             target = f"{path}?{_quote_query(params)}"
    7. \n \n
    8.         else:
    9. \n \n
    10.             target = path
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         meta, resp_body = self.transport.perform_request(\n                               
      \u2026
    2. \n
    \n \n
      \n \n
    1.             method,
    2. \n \n
    3.             target,
    4. \n \n
    5.             headers=request_headers,
    6. \n \n
    7.             body=body,
    8. \n \n
    9.             request_timeout=self._request_timeout,
    10. \n \n
    11.             max_retries=self._max_retries,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                               {'match': {'user.mobile': {'query': '09389657326'}}},\n                               {'match': {'user.national_code': {'query': '09389657326'}}},\n                               {'match': {'user.city.name': {'query': '09389657326'}}},\n                               {'match': {'user.province.name': {'query': '09389657326'}}},\n                               {'match': {'organization.name': {'query': '09389657326'}}},\n                               {'match': {'organization.type.key': {'query': '09389657326'}}},\n                               {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                               {'match': {'organization.company_code': {'query': '09389657326'}}},\n                               {'match': {'role.role_name': {'query': '09389657326'}}}]}}}
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x000001F1495B59E0>
    params
    {}
    path
    '/userrelations/_count'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_transport.py, line 342, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             retry = False
    2. \n \n
    3.             node_failure = False
    4. \n \n
    5.             last_response: Optional[TransportApiResponse] = None
    6. \n \n
    7.             node = self.node_pool.get()
    8. \n \n
    9.             start_time = time.time()
    10. \n \n
    11.             try:
    12. \n \n
    13.                 otel_span.set_node_metadata(node.host, node.port, node.base_url, target)
    14. \n \n
    \n \n
      \n
    1.                 resp = node.perform_request(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     method,
    2. \n \n
    3.                     target,
    4. \n \n
    5.                     body=request_body,
    6. \n \n
    7.                     headers=request_headers,
    8. \n \n
    9.                     request_timeout=request_timeout,
    10. \n \n
    11.                 )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    attempt
    0
    body
    {'query': {'bool': {'should': [{'match': {'user.username': {'query': '09389657326'}}},\n                               {'match': {'user.mobile': {'query': '09389657326'}}},\n                               {'match': {'user.national_code': {'query': '09389657326'}}},\n                               {'match': {'user.city.name': {'query': '09389657326'}}},\n                               {'match': {'user.province.name': {'query': '09389657326'}}},\n                               {'match': {'organization.name': {'query': '09389657326'}}},\n                               {'match': {'organization.type.key': {'query': '09389657326'}}},\n                               {'match': {'organization.national_unique_id': {'query': '09389657326'}}},\n                               {'match': {'organization.company_code': {'query': '09389657326'}}},\n                               {'match': {'role.role_name': {'query': '09389657326'}}}]}}}
    client_meta
    <DEFAULT>
    errors
    []
    headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    last_response
    None
    max_retries
    3
    method
    'POST'
    node
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    node_failure
    True
    otel_span
    <elastic_transport.OpenTelemetrySpan object at 0x000001F149601100>
    request_body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    request_headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    retry
    False
    retry_on_status
    (429, 502, 503, 504)
    retry_on_timeout
    False
    self
    <elastic_transport.Transport object at 0x000001F1493BFC80>
    start_time
    1747554182.7508125
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elastic_transport\\_node\\_http_urllib3.py, line 202, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.             self._log_request(
    2. \n \n
    3.                 method=method,
    4. \n \n
    5.                 target=target,
    6. \n \n
    7.                 headers=request_headers,
    8. \n \n
    9.                 body=body,
    10. \n \n
    11.                 exception=err,
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             raise err from e\n                 ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         meta = ApiResponseMeta(
    3. \n \n
    4.             node=self.config,
    5. \n \n
    6.             duration=duration,
    7. \n \n
    8.             http_version="1.1",
    9. \n \n
    10.             status=response.status,
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    body_to_send
    (b'{"query":{"bool":{"should":[{"match":{"user.username":{"query":"09389657326"'\n b'}}},{"match":{"user.mobile":{"query":"09389657326"}}},{"match":{"user.nation'\n b'al_code":{"query":"09389657326"}}},{"match":{"user.city.name":{"query":"0938'\n b'9657326"}}},{"match":{"user.province.name":{"query":"09389657326"}}},{"match'\n b'":{"organization.name":{"query":"09389657326"}}},{"match":{"organization.typ'\n b'e.key":{"query":"09389657326"}}},{"match":{"organization.national_unique_id"'\n b':{"query":"09389657326"}}},{"match":{"organization.company_code":{"query":"0'\n b'9389657326"}}},{"match":{"role.role_name":{"query":"09389657326"}}}]}}}')
    err
    ConnectionTimeout('Connection timed out during request')
    headers
    {'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    kw
    {}
    method
    'POST'
    request_headers
    {'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)', 'connection': 'keep-alive', 'authorization': 'Basic <hidden>', 'accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'content-type': 'application/vnd.elasticsearch+json; compatible-with=8', 'x-elastic-client-meta': 'es=8.11.0,py=3.12.0,t=8.17.1,ur=2.4.0'}
    request_timeout
    <DEFAULT>
    self
    <Urllib3HttpNode(http://monte-rosa.liara.cloud:31157)>
    start
    1747554182.7508125
    target
    '/userrelations/_count'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'09389657326'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjMxMTgwLCJpYXQiOjE3NDc1NDQ3ODAsImp0aSI6ImM4ZDA5ZGJiMzVkODQxYWVhMmFmMzI4YTMxYzQ2Y2VhIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.y6YIL6QKJfms_i5M2ukkZW5ooWQpFCgv2In_GfUYBSA')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=09389657326'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001F14961A020>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_MASKED
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'},\n 'dj': {'ATOMIC_REQUESTS': False,\n        'AUTOCOMMIT': True,\n        'CONN_HEALTH_CHECKS': False,\n        'CONN_MAX_AGE': 0,\n        'ENGINE': 'djongo',\n        'HOST': '',\n        'NAME': 'mydb',\n        'OPTIONS': {},\n        'PASSWORD': '********************',\n        'PORT': '',\n        'TEST': {'CHARSET': None,\n                 'COLLATION': None,\n                 'MIGRATE': True,\n                 'MIRROR': None,\n                 'NAME': None},\n        'TIME_ZONE': None,\n        'USER': ''}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'django_mongoengine']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_DEPRECATED_PYTZ
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:13:13.056396"}, "122": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 776, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\"},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:15:21.662580"}, "123": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 706, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:15:55.556962"}, "124": {"endpoint": "/search/api/v1/user_relation_search/?search=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 382, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:16:20.176238"}, "125": {"endpoint": "/search/api/v1/user_relation_search/?search=J%7Cmodjs5ssq921", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 412, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:16:46.829502"}, "126": {"endpoint": "/search/api/v1/user_relation_search/?search=J&modjs5ssq921", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 397, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:16:53.005236"}, "127": {"endpoint": "/search/api/v1/user_relation_search/?search=J&housh", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 393, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:17:10.874640"}, "128": {"endpoint": "/search/api/v1/user_relation_search/?search=housh", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 396, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:17:17.910657"}, "129": {"endpoint": "/search/api/v1/user_relation_search/?search=housh&U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 349, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:17:35.849112"}, "130": {"endpoint": "/search/api/v1/user_relation_search/?search=housh&%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 386, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:17:50.888722"}, "131": {"endpoint": "/search/api/v1/user_relation_search/?search=housh&search=U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 634, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:19:49.939401"}, "132": {"endpoint": "/search/api/v1/user_relation_search/?search=housh%7Csearch=U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 400, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:20:08.000286"}, "133": {"endpoint": "/search/api/v1/user_relation_search/?search=housh%7Csearch=U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 394, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:20:21.799476"}, "134": {"endpoint": "/search/api/v1/user_relation_search/?search=housh%7Csearch=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 490, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:22:12.684470"}, "135": {"endpoint": "/search/api/v1/user_relation_search/?search=housh&search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 393, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:22:27.565639"}, "136": {"endpoint": "/search/api/v1/user_relation_search/?search=housh&search=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF&search=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 410, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:23:07.829457"}, "137": {"endpoint": "/search/api/v1/user_relation_search/?search=housh%7Csearch=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF%7Csearch=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:23:31.829166"}, "138": {"endpoint": "/search/api/v1/user_relation_search/?search=housh%7Csearch=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF%7Csearch=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 759, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:33:13.172563"}, "139": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 411, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:33:23.992473"}, "140": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji&search=organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 560, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:34:12.361427"}, "141": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji,J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 483, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:34:46.119741"}, "142": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 478, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:35:00.169547"}, "143": {"endpoint": "/search/api/v1/user_relation_search/?search=moji,j", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:35:03.489726"}, "144": {"endpoint": "/search/api/v1/user_relation_search/?search=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 383, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:35:13.408978"}, "145": {"endpoint": "/search/api/v1/user_relation_search/?search=J,moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 389, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:35:18.033934"}, "146": {"endpoint": "/search/api/v1/user_relation_search/?search=J,housh", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 365, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:35:39.628654"}, "147": {"endpoint": "/search/api/v1/user_relation_search/?organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 354, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:36:23.033604"}, "148": {"endpoint": "/search/api/v1/user_relation_search/?organization=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 391, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:36:40.937230"}, "149": {"endpoint": "/search/api/v1/user_relation_search/?organization_type_key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 355, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:36:53.635827"}, "150": {"endpoint": "/search/api/v1/user_relation_search/?id=5", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 425, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:38:24.544084"}, "151": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 387, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:38:36.597732"}, "152": {"endpoint": "/search/api/v1/user_relation_search/?user_username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:38:42.433037"}, "153": {"endpoint": "/search/api/v1/user_relation_search/?user=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:38:48.823343"}, "154": {"endpoint": "/search/api/v1/user_relation_search/?user__in=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 553, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:39:06.802397"}, "155": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 676, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:48:13.788355"}, "156": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 379, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:52:01.048041"}, "157": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 603, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "body_request": "", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 11:54:35.308024"}, "158": {"endpoint": "/auth/api/v1/user/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1942, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:06:14.375217"}, "159": {"endpoint": "/auth/api/v1/user/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1866, "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:07:46.865571"}, "160": {"endpoint": "/auth/api/v1/user/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1859, "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:08:23.953112"}, "161": {"endpoint": "/auth/api/v1/user/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 679, "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:08:36.176960"}, "162": {"endpoint": "/auth/api/v1/user/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 713, "body_response": "{\"count\":22,\"next\":null,\"previous\":null,\"results\":[{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},{\"username\":\"modjsswsq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjsswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjssswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjassswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjasssw5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjasssw5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"mojitaba\",\"password\":\"pbkdf2_sha256$600000$pJM1WAzal60Z1IigSZ9l0d$IayvIEeJE03zt2gnurjWczZj9A/Z+pPjGSqr2SEwD5U=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},{\"username\":\"modjasss4w5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5ssq1\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5ssq21\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5ssq921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5ssq1921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs56\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjs5w6\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"modjssss\",\"password\":\"pbkdf2_sha256$600000$fDlMFISbEkaXJG6kARroV2$/IUWHhYBmGemCGcAfBOk4xjXfHnM/hV0/7ZamZGna10=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"mopomk433dd\",\"password\":\"pbkdf2_sha256$600000$ZWSuYeQXRbIdCcjSS2vhG5$8fHO5y5clfp2+FpHYt21oVg+LAM01C/sF33uDa44S9k=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"mopomk433ddss\",\"password\":\"pbkdf2_sha256$600000$1dOCj7EYS8gYnxr12LIHmj$jRaeLtzzDkCb5hA0Q+kuQgnA0WwmGINreyFRC4P4hYc=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"mopomk433ddsp\",\"password\":\"pbkdf2_sha256$600000$aSofeMYLqODmL4TyH2E3nW$kzsEKZTAWASKUSHLtFVc+CzDtKBeV7BvL/lt5Ym7DzA=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},{\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:15:40.811419"}, "163": {"endpoint": "/auth/api/v1/user/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1650, "body_response": "{\"national_unique_id\":[\"organization with this national unique id already exists.\"]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:17:04.609524"}, "164": {"endpoint": "/auth/api/v1/user-relations/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "{\"detail\":\"Given token not valid for any token type\",\"code\":\"token_not_valid\",\"messages\":[{\"token_class\":\"AccessToken\",\"token_type\":\"access\",\"message\":\"Token is expired\"}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:18:25.028909"}, "165": {"endpoint": "/auth/api/v1/user-relations/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10643, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[]},{\"id\":5,\"user\":{\"username\":\"modjssswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":6,\"user\":null,\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":7,\"user\":{\"username\":\"modjasssw5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":8,\"user\":{\"username\":\"modjasssw5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":9,\"user\":{\"username\":\"modjasss4w5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":11,\"user\":{\"username\":\"modjs5ssq21\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":12,\"user\":{\"username\":\"modjs5ssq921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":13,\"user\":{\"username\":\"modjs5ssq1921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":14,\"user\":{\"username\":\"modjs56\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":15,\"user\":{\"username\":\"modjs5w6\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":25,\"user\":{\"username\":\"modjssss\",\"password\":\"pbkdf2_sha256$600000$fDlMFISbEkaXJG6kARroV2$/IUWHhYBmGemCGcAfBOk4xjXfHnM/hV0/7ZamZGna10=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":26,\"user\":{\"username\":\"mopomk433dd\",\"password\":\"pbkdf2_sha256$600000$ZWSuYeQXRbIdCcjSS2vhG5$8fHO5y5clfp2+FpHYt21oVg+LAM01C/sF33uDa44S9k=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":20,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"12258755566\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":27,\"user\":{\"username\":\"mopomk433ddss\",\"password\":\"pbkdf2_sha256$600000$1dOCj7EYS8gYnxr12LIHmj$jRaeLtzzDkCb5hA0Q+kuQgnA0WwmGINreyFRC4P4hYc=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":21,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225875556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":24,\"user\":{\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":28,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":10,\"user\":{\"username\":\"modjs5ssq1\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":12,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225855\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:20:06.066171"}, "166": {"endpoint": "/auth/api/v1/user-relations/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10314, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[]},{\"id\":5,\"user\":{\"username\":\"modjssswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":6,\"user\":null,\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":7,\"user\":{\"username\":\"modjasssw5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":8,\"user\":{\"username\":\"modjasssw5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":9,\"user\":{\"username\":\"modjasss4w5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":11,\"user\":{\"username\":\"modjs5ssq21\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":12,\"user\":{\"username\":\"modjs5ssq921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":13,\"user\":{\"username\":\"modjs5ssq1921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":14,\"user\":{\"username\":\"modjs56\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":15,\"user\":{\"username\":\"modjs5w6\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":25,\"user\":{\"username\":\"modjssss\",\"password\":\"pbkdf2_sha256$600000$fDlMFISbEkaXJG6kARroV2$/IUWHhYBmGemCGcAfBOk4xjXfHnM/hV0/7ZamZGna10=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":26,\"user\":{\"username\":\"mopomk433dd\",\"password\":\"pbkdf2_sha256$600000$ZWSuYeQXRbIdCcjSS2vhG5$8fHO5y5clfp2+FpHYt21oVg+LAM01C/sF33uDa44S9k=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":20,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"12258755566\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":27,\"user\":{\"username\":\"mopomk433ddss\",\"password\":\"pbkdf2_sha256$600000$1dOCj7EYS8gYnxr12LIHmj$jRaeLtzzDkCb5hA0Q+kuQgnA0WwmGINreyFRC4P4hYc=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":21,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225875556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":24,\"user\":{\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":28,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":10,\"user\":{\"username\":\"modjs5ssq1\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":12,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225855\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:20:13.320864"}, "167": {"endpoint": "/auth/api/v1/user-relations/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10330, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[]},{\"id\":5,\"user\":{\"username\":\"modjssswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":6,\"user\":null,\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":7,\"user\":{\"username\":\"modjasssw5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":8,\"user\":{\"username\":\"modjasssw5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":9,\"user\":{\"username\":\"modjasss4w5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":11,\"user\":{\"username\":\"modjs5ssq21\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":12,\"user\":{\"username\":\"modjs5ssq921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":13,\"user\":{\"username\":\"modjs5ssq1921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":14,\"user\":{\"username\":\"modjs56\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":15,\"user\":{\"username\":\"modjs5w6\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":25,\"user\":{\"username\":\"modjssss\",\"password\":\"pbkdf2_sha256$600000$fDlMFISbEkaXJG6kARroV2$/IUWHhYBmGemCGcAfBOk4xjXfHnM/hV0/7ZamZGna10=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":26,\"user\":{\"username\":\"mopomk433dd\",\"password\":\"pbkdf2_sha256$600000$ZWSuYeQXRbIdCcjSS2vhG5$8fHO5y5clfp2+FpHYt21oVg+LAM01C/sF33uDa44S9k=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":20,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"12258755566\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":27,\"user\":{\"username\":\"mopomk433ddss\",\"password\":\"pbkdf2_sha256$600000$1dOCj7EYS8gYnxr12LIHmj$jRaeLtzzDkCb5hA0Q+kuQgnA0WwmGINreyFRC4P4hYc=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":21,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225875556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":24,\"user\":{\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":28,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":10,\"user\":{\"username\":\"modjs5ssq1\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":12,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225855\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:20:27.801934"}, "168": {"endpoint": "/auth/api/v1/user-relations/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 9273, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[]},{\"id\":5,\"user\":{\"username\":\"modjssswssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":6,\"user\":null,\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":7,\"user\":{\"username\":\"modjasssw5ssq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":null,\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":8,\"user\":{\"username\":\"modjasssw5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":9,\"user\":{\"username\":\"modjasss4w5s5sq\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":11,\"user\":{\"username\":\"modjs5ssq21\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":12,\"user\":{\"username\":\"modjs5ssq921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":13,\"user\":{\"username\":\"modjs5ssq1921\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":14,\"user\":{\"username\":\"modjs56\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":15,\"user\":{\"username\":\"modjs5w6\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":25,\"user\":{\"username\":\"modjssss\",\"password\":\"pbkdf2_sha256$600000$fDlMFISbEkaXJG6kARroV2$/IUWHhYBmGemCGcAfBOk4xjXfHnM/hV0/7ZamZGna10=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":26,\"user\":{\"username\":\"mopomk433dd\",\"password\":\"pbkdf2_sha256$600000$ZWSuYeQXRbIdCcjSS2vhG5$8fHO5y5clfp2+FpHYt21oVg+LAM01C/sF33uDa44S9k=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":20,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"12258755566\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":27,\"user\":{\"username\":\"mopomk433ddss\",\"password\":\"pbkdf2_sha256$600000$1dOCj7EYS8gYnxr12LIHmj$jRaeLtzzDkCb5hA0Q+kuQgnA0WwmGINreyFRC4P4hYc=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":21,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225875556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":24,\"user\":{\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":28,\"user\":{\"username\":\"housh\",\"password\":\"pbkdf2_sha256$720000$ETl290WVsQadHX5NlqZDCq$fTZYr15HAznv+OuT6zNV4cf+3WT60DiMyGy+cBW5icc=\",\"first_name\":\"\",\"last_name\":\"\",\"is_active\":true,\"mobile\":\"\",\"phone\":null,\"national_code\":\"\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":\"\",\"province\":null,\"city\":null,\"otp_status\":false},\"organization\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},{\"id\":10,\"user\":{\"username\":\"modjs5ssq1\",\"password\":\"moji1234\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":12,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"1225855\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:20:54.847346"}, "169": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 9, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_relation_search/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/?search=moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  8. \n \n
  9. \n \n \n \n \n core/\n \n \n
  10. \n \n
\n

\n \n The current path, search/api/v1/user_relation_search/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:23:39.884014"}, "170": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 909, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:24:17.840890"}, "171": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 812, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:28:14.250149"}, "172": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:28:16.358457"}, "173": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 869, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:28:44.459130"}, "174": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 851, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:28:57.204298"}, "175": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 398, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:29:04.867932"}, "176": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657&moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 867, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:37:47.879051"}, "177": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657&4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 418, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:37:57.512241"}, "178": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657&4061080598&J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 452, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:38:14.693805"}, "179": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598&J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 419, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:38:24.889519"}, "180": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598&J&09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 472, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:38:51.186885"}, "181": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598&J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 456, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:02.506149"}, "182": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 429, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:05.736810"}, "183": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 480, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:09.382329"}, "184": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 403, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:15.562220"}, "185": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 450, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:22.240803"}, "186": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598&09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 453, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:30.039972"}, "187": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598&search=09389657", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 409, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:39:52.825116"}, "188": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 745, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:40:49.233519"}, "189": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 328, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:40:52.518329"}, "190": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 711, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:20.177638"}, "191": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 365, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:22.536746"}, "192": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 378, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:27.635912"}, "193": {"endpoint": "/search/api/v1/user_relation_search/?user.username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 366, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:33.344571"}, "194": {"endpoint": "/search/api/v1/user_relation_search/?user=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 393, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:42.622385"}, "195": {"endpoint": "/search/api/v1/user_relation_search/?user_username=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 367, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:48.553011"}, "196": {"endpoint": "/search/api/v1/user_relation_search/?user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 470, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:41:57.912108"}, "197": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 359, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:05.629917"}, "198": {"endpoint": "/search/api/v1/user_relation_search/?search=0938user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 325, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:13.310054"}, "199": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 337, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:20.104394"}, "200": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 336, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:24.640851"}, "201": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326:4061080598user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 390, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:32.290129"}, "202": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:40.419933"}, "203": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326,4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 409, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:46.875255"}, "204": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326%204061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 350, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:52.450147"}, "205": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 333, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:42:59.315524"}, "206": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326%204061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 423, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:43:04.994321"}, "207": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326%204061080598%20J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 420, "body_response": "{\"count\":16,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:43:10.874250"}, "208": {"endpoint": "/search/api/v1/user_relation_search/?role=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 979, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:54:11.432603"}, "209": {"endpoint": "/search/api/v1/user_relation_search/?role=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 599, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:54:17.665532"}, "210": {"endpoint": "/search/api/v1/user_relation_search/?organization=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 438, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:54:35.606907"}, "211": {"endpoint": "/search/api/v1/user_relation_search/?organization.type.key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 466, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:54:56.005749"}, "212": {"endpoint": "/search/api/v1/user_relation_search/?organization.type.key:J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 527, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:55:10.141052"}, "213": {"endpoint": "/search/api/v1/user_relation_search/?organization=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:55:18.564055"}, "214": {"endpoint": "/search/api/v1/user_relation_search/?organization__type__key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 483, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:55:26.724967"}, "215": {"endpoint": "/search/api/v1/user_relation_search/?organization_type_key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 464, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 12:55:35.143192"}, "216": {"endpoint": "/swagger", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 445, "body_response": "\n\n\n \n \n AttributeError\n at /swagger\n \n \n \n \n\n\n
\n

AttributeError\n at /swagger

\n
'AnonymousUser' object has no attribute 'user_relation'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'AnonymousUser' object has no attribute 'user_relation'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions
Raised during:rest_framework_swagger.views.SwaggerSchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:15:49 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002B7AA6FA000>>
    request
    <WSGIRequest: GET '/swagger'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000002B7AA2EB1A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002B7AA6FA000>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000002B7AA2EB1A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    view_func
    <function View.as_view.<locals>.view at 0x000002B7AA0E1800>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView'>
    initkwargs
    {}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>}
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    exception_handler
    <function exception_handler at 0x000002B7AA2C91C0>
    response
    None
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    renderer_format
    'swagger'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\views.py, line 32, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request):
    2. \n \n
    3.             generator = SchemaGenerator(
    4. \n \n
    5.                 title=title,
    6. \n \n
    7.                 url=url,
    8. \n \n
    9.                 patterns=patterns,
    10. \n \n
    11.                 urlconf=urlconf
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request=request)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if not schema:
    3. \n \n
    4.                 raise exceptions.ValidationError(
    5. \n \n
    6.                     'The schema generator did not return a schema Document'
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    generator
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AA6F9C70>
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8DB020>
    title
    'RasadDamApis'
    url
    None
    urlconf
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 158, in get_schema\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_schema(self, request=None, public=False):
    3. \n \n
    4.         """
    5. \n \n
    6.         Generate a `coreapi.Document` representing the API schema.
    7. \n \n
    8.         """
    9. \n \n
    10.         self._initialise_endpoints()
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         links = self.get_links(None if public else request)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if not links:
    2. \n \n
    3.             return None
    4. \n \n
    5. \n \n
    6.         url = self.url
    7. \n \n
    8.         if not url and request is not None:
    9. \n \n
    10.             url = request.build_absolute_uri()
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AA6F9C70>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 143, in get_links\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Only generate the path prefix for paths that will be included
    3. \n \n
    4.         if not paths:
    5. \n \n
    6.             return None
    7. \n \n
    8.         prefix = self.determine_path_prefix(paths)
    9. \n \n
    10. \n \n
    11.         for path, method, view in view_endpoints:
    12. \n \n
    \n \n
      \n
    1.             if not self.has_view_permissions(path, method, view):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 continue
    2. \n \n
    3.             link = view.schema.get_link(path, method, base_url=self.url)
    4. \n \n
    5.             subpath = path[len(prefix):]
    6. \n \n
    7.             keys = self.get_keys(subpath, method, view)
    8. \n \n
    9.             insert_into(links, keys, link)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    links
    {}
    method
    'GET'
    path
    '/auth/api/v1/user/'
    paths
    ['/auth/api/v1/user/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/',\n '/core/mobile_test/{id}/',\n '/search/api/v1/user_relation_search/',\n '/search/api/v1/user_relation_search/functional_suggest/',\n '/search/api/v1/user_relation_search/suggest/',\n '/search/api/v1/user_relation_search/{id}/',\n '/swagger',\n '/auth/api/v1/login/',\n '/auth/api/v1/token/refresh/',\n '/auth/api/v1/token/verify/',\n '/auth/api/v1/token/revoke/',\n '/auth/api/v1/user/',\n '/auth/api/v1/city/',\n '/auth/api/v1/province/',\n '/auth/api/v1/organization/',\n '/auth/api/v1/organization-type/',\n '/auth/api/v1/role/',\n '/auth/api/v1/permission/',\n '/auth/api/v1/user-relations/',\n '/captcha/',\n '/core/mobile_test/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/']
    prefix
    '/'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AA6F9C70>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>
    view_endpoints
    [('/auth/api/v1/user/',\n  'GET',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>),\n ('/auth/api/v1/user/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939910>),\n ('/auth/api/v1/city/',\n  'GET',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AA939280>),\n ('/auth/api/v1/city/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AA9399A0>),\n ('/auth/api/v1/province/',\n  'GET',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AA939A00>),\n ('/auth/api/v1/province/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AA939A60>),\n ('/auth/api/v1/organization/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AA939AC0>),\n ('/auth/api/v1/organization/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AA939AF0>),\n ('/auth/api/v1/organization-type/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AA939B20>),\n ('/auth/api/v1/organization-type/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AA939B50>),\n ('/auth/api/v1/role/',\n  'GET',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7AA939BB0>),\n ('/auth/api/v1/role/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7AA939BE0>),\n ('/auth/api/v1/permission/',\n  'GET',\n  <apps.authorization.api.v1.api.PermissionViewSet object at 0x000002B7AA939C40>),\n ('/auth/api/v1/permission/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.PermissionViewSet object at 0x000002B7AA939C70>),\n ('/auth/api/v1/user-relations/',\n  'GET',\n  <apps.authorization.api.v1.api.UserRelationViewSet object at 0x000002B7AA939CD0>),\n ('/auth/api/v1/user-relations/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.UserRelationViewSet object at 0x000002B7AA939D30>),\n ('/core/mobile_test/',\n  'GET',\n  <apps.core.api.MobileTestViewSet object at 0x000002B7AA939D90>),\n ('/core/mobile_test/{id}/',\n  'GET',\n  <apps.core.api.MobileTestViewSet object at 0x000002B7AA939DF0>),\n ('/search/api/v1/user_relation_search/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA939E50>),\n ('/search/api/v1/user_relation_search/functional_suggest/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA8EE870>),\n ('/search/api/v1/user_relation_search/suggest/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AAB09A30>),\n ('/search/api/v1/user_relation_search/{id}/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AAB09B50>),\n ('/swagger',\n  'GET',\n  <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AAB09C70>),\n ('/auth/api/v1/login/',\n  'POST',\n  <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x000002B7AAB09D60>),\n ('/auth/api/v1/token/refresh/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenRefreshView object at 0x000002B7AAB09DC0>),\n ('/auth/api/v1/token/verify/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenVerifyView object at 0x000002B7AAB09E20>),\n ('/auth/api/v1/token/revoke/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenBlacklistView object at 0x000002B7AAB09E50>),\n ('/auth/api/v1/user/',\n  'POST',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AAB09E80>),\n ('/auth/api/v1/city/',\n  'POST',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AAB09EE0>),\n ('/auth/api/v1/province/',\n  'POST',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AAB09F40>),\n ('/auth/api/v1/organization/',\n  'POST',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AAB09FA0>),\n ('/auth/api/v1/organization-type/',\n  'POST',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AAB0A000>),\n ('/auth/api/v1/role/',\n  'POST',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7\u2026 <trimmed 7947 bytes string>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\generators.py, line 236, in has_view_permissions\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Return `True` if the incoming request has the correct view permissions.
    4. \n \n
    5.         """
    6. \n \n
    7.         if view.request is None:
    8. \n \n
    9.             return True
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             view.check_permissions(view.request)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (exceptions.APIException, Http404, PermissionDenied):
    2. \n \n
    3.             return False
    4. \n \n
    5.         return True
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/user/'
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AA6F9C70>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 338, in check_permissions\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    12.         for permission in self.get_permissions():
    13. \n \n
    \n \n
      \n
    1.             if not permission.has_permission(request, self):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.permission_denied(
    2. \n \n
    3.                     request,
    4. \n \n
    5.                     message=getattr(permission, 'message', None),
    6. \n \n
    7.                     code=getattr(permission, 'code', None)
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    permission
    <apps.authentication.permissions.CreateUser object at 0x000002B7AAB0AD50>
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 12, in has_permission\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. class CreateUser(permissions.BasePermission):
    3. \n \n
    4.     """
    5. \n \n
    6.     @permission: superuser can add users
    7. \n \n
    8.     """
    9. \n \n
    10. \n \n
    11.     def has_permission(self, request, view):
    12. \n \n
    \n \n
      \n
    1.         user_level_info = self.get_user_permissions(request, view)\n                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if 'superuser' in user_level_info['permissions']:
    2. \n \n
    3.             org_type = OrganizationType.objects.get(  # noqa
    4. \n \n
    5.                 id=request.data['organization']['type']
    6. \n \n
    7.             )
    8. \n \n
    9.             print(org_type.key)
    10. \n \n
    11.             if 'J' in user_level_info['organization_type']:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <apps.authentication.permissions.CreateUser object at 0x000002B7AAB0AD50>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions\n \n\n \n
    \n \n
      \n \n
    1.     def get_user_permissions(self, request, view) -> typing.Dict:  # noqa
    2. \n \n
    3.         """
    4. \n \n
    5.         get permissions by role and user specified permissions
    6. \n \n
    7.         combined permissions and returns a list
    8. \n \n
    9.         """
    10. \n \n
    11.         organization_type = []
    12. \n \n
    13.         permissions_info = {}
    14. \n \n
    \n \n
      \n
    1.         relations = request.user.user_relation.select_related()\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for relation in relations:
    2. \n \n
    3.             role_permissions = list(itertools.chain(*[
    4. \n \n
    5.                     list(item.values()) for item in
    6. \n \n
    7.                     list(relation.role.permissions.prefetch_related().values('name'))
    8. \n \n
    9.                 ]
    10. \n \n
    11.             ))
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    organization_type
    []
    permissions_info
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <apps.authentication.permissions.CreateUser object at 0x000002B7AAB0AD50>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA939070>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
csrftoken
'********************'
\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
'3vjN9LFzZJe1qadGrDu5YDm6hi6UPDQ2'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br, zstd'
HTTP_ACCEPT_LANGUAGE
'fa,en-US;q=0.9,en;q=0.8'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'********************'
HTTP_HOST
'127.0.0.1:8000'
HTTP_SEC_CH_UA
'"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'
HTTP_SEC_CH_UA_MOBILE
'?0'
HTTP_SEC_CH_UA_PLATFORM
'"Windows"'
HTTP_SEC_FETCH_DEST
'document'
HTTP_SEC_FETCH_MODE
'navigate'
HTTP_SEC_FETCH_SITE
'none'
HTTP_SEC_FETCH_USER
'?1'
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '\n 'Gecko) Chrome/136.0.0.0 Safari/537.36')
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002B7AA8DB5E0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'rest_framework_swagger']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:45:49.449008"}, "217": {"endpoint": "/favicon.ico", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /favicon.ico\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/favicon.ico
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  8. \n \n
  9. \n \n \n \n \n core/\n \n \n
  10. \n \n
  11. \n \n search/\n \n \n
  12. \n \n
  13. \n \n swagger\n \n \n
  14. \n \n
\n

\n \n The current path, favicon.ico,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:45:50.036691"}, "218": {"endpoint": "/swagger", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 610, "body_response": "\n\n\n \n \n KeyError\n at /swagger\n \n \n \n \n\n\n
\n

KeyError\n at /swagger

\n
'organization'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
Django Version:5.0
Exception Type:KeyError
Exception Value:
'organization'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 15, in has_permission
Raised during:rest_framework_swagger.views.SwaggerSchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:16:57 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('organization')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002B7AA6FA000>>
    request
    <WSGIRequest: GET '/swagger'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000002B7AA2EB1A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002B7AA6FA000>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000002B7AA2EB1A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    view_func
    <function View.as_view.<locals>.view at 0x000002B7AA0E1800>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView'>
    initkwargs
    {}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>}
    exc
    KeyError('organization')
    exception_handler
    <function exception_handler at 0x000002B7AA2C91C0>
    response
    None
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('organization')
    renderer_format
    'corejson'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\views.py, line 32, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request):
    2. \n \n
    3.             generator = SchemaGenerator(
    4. \n \n
    5.                 title=title,
    6. \n \n
    7.                 url=url,
    8. \n \n
    9.                 patterns=patterns,
    10. \n \n
    11.                 urlconf=urlconf
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request=request)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if not schema:
    3. \n \n
    4.                 raise exceptions.ValidationError(
    5. \n \n
    6.                     'The schema generator did not return a schema Document'
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    generator
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AAB08470>
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA8EF380>
    title
    'RasadDamApis'
    url
    None
    urlconf
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 158, in get_schema\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_schema(self, request=None, public=False):
    3. \n \n
    4.         """
    5. \n \n
    6.         Generate a `coreapi.Document` representing the API schema.
    7. \n \n
    8.         """
    9. \n \n
    10.         self._initialise_endpoints()
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         links = self.get_links(None if public else request)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if not links:
    2. \n \n
    3.             return None
    4. \n \n
    5. \n \n
    6.         url = self.url
    7. \n \n
    8.         if not url and request is not None:
    9. \n \n
    10.             url = request.build_absolute_uri()
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AAB08470>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 143, in get_links\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Only generate the path prefix for paths that will be included
    3. \n \n
    4.         if not paths:
    5. \n \n
    6.             return None
    7. \n \n
    8.         prefix = self.determine_path_prefix(paths)
    9. \n \n
    10. \n \n
    11.         for path, method, view in view_endpoints:
    12. \n \n
    \n \n
      \n
    1.             if not self.has_view_permissions(path, method, view):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 continue
    2. \n \n
    3.             link = view.schema.get_link(path, method, base_url=self.url)
    4. \n \n
    5.             subpath = path[len(prefix):]
    6. \n \n
    7.             keys = self.get_keys(subpath, method, view)
    8. \n \n
    9.             insert_into(links, keys, link)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    links
    {}
    method
    'GET'
    path
    '/auth/api/v1/user/'
    paths
    ['/auth/api/v1/user/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/',\n '/core/mobile_test/{id}/',\n '/search/api/v1/user_relation_search/',\n '/search/api/v1/user_relation_search/functional_suggest/',\n '/search/api/v1/user_relation_search/suggest/',\n '/search/api/v1/user_relation_search/{id}/',\n '/swagger',\n '/auth/api/v1/login/',\n '/auth/api/v1/token/refresh/',\n '/auth/api/v1/token/verify/',\n '/auth/api/v1/token/revoke/',\n '/auth/api/v1/user/',\n '/auth/api/v1/city/',\n '/auth/api/v1/province/',\n '/auth/api/v1/organization/',\n '/auth/api/v1/organization-type/',\n '/auth/api/v1/role/',\n '/auth/api/v1/permission/',\n '/auth/api/v1/user-relations/',\n '/captcha/',\n '/core/mobile_test/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/',\n '/auth/api/v1/user/{id}/',\n '/auth/api/v1/city/{id}/',\n '/auth/api/v1/province/{id}/',\n '/auth/api/v1/organization/{id}/',\n '/auth/api/v1/organization-type/{id}/',\n '/auth/api/v1/role/{id}/',\n '/auth/api/v1/permission/{id}/',\n '/auth/api/v1/user-relations/{id}/',\n '/core/mobile_test/{id}/']
    prefix
    '/'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AAB08470>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2900>
    view_endpoints
    [('/auth/api/v1/user/',\n  'GET',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2900>),\n ('/auth/api/v1/user/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B28A0>),\n ('/auth/api/v1/city/',\n  'GET',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AA9B1B50>),\n ('/auth/api/v1/city/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AA9B0F20>),\n ('/auth/api/v1/province/',\n  'GET',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AA93B6E0>),\n ('/auth/api/v1/province/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AA9B3B90>),\n ('/auth/api/v1/organization/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AA93BF50>),\n ('/auth/api/v1/organization/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AA9B08C0>),\n ('/auth/api/v1/organization-type/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AA9B23F0>),\n ('/auth/api/v1/organization-type/{id}/',\n  'GET',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AA9B0BF0>),\n ('/auth/api/v1/role/',\n  'GET',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7AA9B0CB0>),\n ('/auth/api/v1/role/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7AA9B2B70>),\n ('/auth/api/v1/permission/',\n  'GET',\n  <apps.authorization.api.v1.api.PermissionViewSet object at 0x000002B7AA9B2240>),\n ('/auth/api/v1/permission/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.PermissionViewSet object at 0x000002B7AA9B33E0>),\n ('/auth/api/v1/user-relations/',\n  'GET',\n  <apps.authorization.api.v1.api.UserRelationViewSet object at 0x000002B7AA9B32C0>),\n ('/auth/api/v1/user-relations/{id}/',\n  'GET',\n  <apps.authorization.api.v1.api.UserRelationViewSet object at 0x000002B7AA9B3620>),\n ('/core/mobile_test/',\n  'GET',\n  <apps.core.api.MobileTestViewSet object at 0x000002B7AA9B17C0>),\n ('/core/mobile_test/{id}/',\n  'GET',\n  <apps.core.api.MobileTestViewSet object at 0x000002B7AA9B1A00>),\n ('/search/api/v1/user_relation_search/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA9B0140>),\n ('/search/api/v1/user_relation_search/functional_suggest/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA9B0E00>),\n ('/search/api/v1/user_relation_search/suggest/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA9B1F70>),\n ('/search/api/v1/user_relation_search/{id}/',\n  'GET',\n  <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000002B7AA9B1FD0>),\n ('/swagger',\n  'GET',\n  <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000002B7AA9B0A10>),\n ('/auth/api/v1/login/',\n  'POST',\n  <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x000002B7AA9B24B0>),\n ('/auth/api/v1/token/refresh/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenRefreshView object at 0x000002B7AA9B2450>),\n ('/auth/api/v1/token/verify/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenVerifyView object at 0x000002B7AA9B01A0>),\n ('/auth/api/v1/token/revoke/',\n  'POST',\n  <rest_framework_simplejwt.views.TokenBlacklistView object at 0x000002B7AABF07D0>),\n ('/auth/api/v1/user/',\n  'POST',\n  <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2930>),\n ('/auth/api/v1/city/',\n  'POST',\n  <apps.authentication.api.v1.api.CityViewSet object at 0x000002B7AA9B3800>),\n ('/auth/api/v1/province/',\n  'POST',\n  <apps.authentication.api.v1.api.ProvinceViewSet object at 0x000002B7AA9B3890>),\n ('/auth/api/v1/organization/',\n  'POST',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x000002B7AA9B19A0>),\n ('/auth/api/v1/organization-type/',\n  'POST',\n  <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x000002B7AA9B34A0>),\n ('/auth/api/v1/role/',\n  'POST',\n  <apps.authorization.api.v1.api.RoleViewSet object at 0x000002B7\u2026 <trimmed 7947 bytes string>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\generators.py, line 236, in has_view_permissions\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Return `True` if the incoming request has the correct view permissions.
    4. \n \n
    5.         """
    6. \n \n
    7.         if view.request is None:
    8. \n \n
    9.             return True
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             view.check_permissions(view.request)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (exceptions.APIException, Http404, PermissionDenied):
    2. \n \n
    3.             return False
    4. \n \n
    5.         return True
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/user/'
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000002B7AAB08470>
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2900>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 338, in check_permissions\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    12.         for permission in self.get_permissions():
    13. \n \n
    \n \n
      \n
    1.             if not permission.has_permission(request, self):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.permission_denied(
    2. \n \n
    3.                     request,
    4. \n \n
    5.                     message=getattr(permission, 'message', None),
    6. \n \n
    7.                     code=getattr(permission, 'code', None)
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    permission
    <apps.authentication.permissions.CreateUser object at 0x000002B7AA9B3F80>
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2900>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 15, in has_permission\n \n\n \n
    \n \n
      \n \n
    1.     @permission: superuser can add users
    2. \n \n
    3.     """
    4. \n \n
    5. \n \n
    6.     def has_permission(self, request, view):
    7. \n \n
    8.         user_level_info = self.get_user_permissions(request, view)
    9. \n \n
    10.         if 'superuser' in user_level_info['permissions']:
    11. \n \n
    12.             org_type = OrganizationType.objects.get(  # noqa
    13. \n \n
    \n \n
      \n
    1.                 id=request.data['organization']['type']\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.             print(org_type.key)
    4. \n \n
    5.             if 'J' in user_level_info['organization_type']:
    6. \n \n
    7.                 return True
    8. \n \n
    9.             if 'U' in user_level_info['organization_type']:
    10. \n \n
    11.                 if org_type.key == 'J' or org_type.key == 'U':
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <apps.authentication.permissions.CreateUser object at 0x000002B7AA9B3F80>
    user_level_info
    {'organization_type': ['J'], 'permissions': ['superuser', 'test']}
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x000002B7AA9B2900>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002B7AABE5D20>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'rest_framework_swagger']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 13:46:57.273649"}, "219": {"endpoint": "/swagger", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 405, "body_response": "\n\n\n \n \n AttributeError\n at /swagger\n \n \n \n \n\n\n
\n

AttributeError\n at /swagger

\n
'AutoSchema' object has no attribute 'get_link'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'AutoSchema' object has no attribute 'get_link'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 145, in get_links
Raised during:rest_framework_swagger.views.SwaggerSchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:18:05 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001AD2B613AA0>>
    request
    <WSGIRequest: GET '/swagger'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000001AD2B2DB1A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001AD2B613AA0>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000001AD2B2DB1A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    view_func
    <function View.as_view.<locals>.view at 0x000001AD2B0D1940>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView'>
    initkwargs
    {}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>}
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    exception_handler
    <function exception_handler at 0x000001AD2B2B91C0>
    response
    None
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    renderer_format
    'corejson'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\views.py, line 32, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request):
    2. \n \n
    3.             generator = SchemaGenerator(
    4. \n \n
    5.                 title=title,
    6. \n \n
    7.                 url=url,
    8. \n \n
    9.                 patterns=patterns,
    10. \n \n
    11.                 urlconf=urlconf
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request=request)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if not schema:
    3. \n \n
    4.                 raise exceptions.ValidationError(
    5. \n \n
    6.                     'The schema generator did not return a schema Document'
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    generator
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B576FF0>
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B5C7AD0>
    title
    'RasadDamApis'
    url
    None
    urlconf
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 158, in get_schema\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_schema(self, request=None, public=False):
    3. \n \n
    4.         """
    5. \n \n
    6.         Generate a `coreapi.Document` representing the API schema.
    7. \n \n
    8.         """
    9. \n \n
    10.         self._initialise_endpoints()
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         links = self.get_links(None if public else request)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if not links:
    2. \n \n
    3.             return None
    4. \n \n
    5. \n \n
    6.         url = self.url
    7. \n \n
    8.         if not url and request is not None:
    9. \n \n
    10.             url = request.build_absolute_uri()
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B576FF0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 145, in get_links\n \n\n \n
    \n \n
      \n \n
    1.         if not paths:
    2. \n \n
    3.             return None
    4. \n \n
    5.         prefix = self.determine_path_prefix(paths)
    6. \n \n
    7. \n \n
    8.         for path, method, view in view_endpoints:
    9. \n \n
    10.             if not self.has_view_permissions(path, method, view):
    11. \n \n
    12.                 continue
    13. \n \n
    \n \n
      \n
    1.             link = view.schema.get_link(path, method, base_url=self.url)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             subpath = path[len(prefix):]
    2. \n \n
    3.             keys = self.get_keys(subpath, method, view)
    4. \n \n
    5.             insert_into(links, keys, link)
    6. \n \n
    7. \n \n
    8.         return links
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    links
    {}
    method
    'GET'
    path
    '/swagger'
    paths
    ['/swagger']
    prefix
    '/'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B576FF0>
    view
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B630CE0>
    view_endpoints
    [('/swagger',\n  'GET',\n  <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B630CE0>)]
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001AD2B795C90>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'rest_framework_swagger']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 13:48:05.211827"}, "220": {"endpoint": "/swagger", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 37, "body_response": "\n\n\n \n \n AttributeError\n at /swagger\n \n \n \n \n\n\n
\n

AttributeError\n at /swagger

\n
'AutoSchema' object has no attribute 'get_link'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'AutoSchema' object has no attribute 'get_link'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 145, in get_links
Raised during:rest_framework_swagger.views.SwaggerSchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:18:15 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001AD2B613AA0>>
    request
    <WSGIRequest: GET '/swagger'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000001AD2B2DB1A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001AD2B613AA0>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000001AD2B2DB1A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    view_func
    <function View.as_view.<locals>.view at 0x000001AD2B0D1940>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView'>
    initkwargs
    {}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>}
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    exception_handler
    <function exception_handler at 0x000001AD2B2B91C0>
    response
    None
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AutoSchema' object has no attribute 'get_link'")
    renderer_format
    'swagger'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_swagger_view.<locals>.SwaggerSchemaView.get of <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\views.py, line 32, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request):
    2. \n \n
    3.             generator = SchemaGenerator(
    4. \n \n
    5.                 title=title,
    6. \n \n
    7.                 url=url,
    8. \n \n
    9.                 patterns=patterns,
    10. \n \n
    11.                 urlconf=urlconf
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request=request)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             if not schema:
    3. \n \n
    4.                 raise exceptions.ValidationError(
    5. \n \n
    6.                     'The schema generator did not return a schema Document'
    7. \n \n
    8.                 )
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    generator
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B9285F0>
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B928440>
    title
    'RasadDamApis'
    url
    None
    urlconf
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 158, in get_schema\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_schema(self, request=None, public=False):
    3. \n \n
    4.         """
    5. \n \n
    6.         Generate a `coreapi.Document` representing the API schema.
    7. \n \n
    8.         """
    9. \n \n
    10.         self._initialise_endpoints()
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         links = self.get_links(None if public else request)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if not links:
    2. \n \n
    3.             return None
    4. \n \n
    5. \n \n
    6.         url = self.url
    7. \n \n
    8.         if not url and request is not None:
    9. \n \n
    10.             url = request.build_absolute_uri()
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B9285F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\coreapi.py, line 145, in get_links\n \n\n \n
    \n \n
      \n \n
    1.         if not paths:
    2. \n \n
    3.             return None
    4. \n \n
    5.         prefix = self.determine_path_prefix(paths)
    6. \n \n
    7. \n \n
    8.         for path, method, view in view_endpoints:
    9. \n \n
    10.             if not self.has_view_permissions(path, method, view):
    11. \n \n
    12.                 continue
    13. \n \n
    \n \n
      \n
    1.             link = view.schema.get_link(path, method, base_url=self.url)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             subpath = path[len(prefix):]
    2. \n \n
    3.             keys = self.get_keys(subpath, method, view)
    4. \n \n
    5.             insert_into(links, keys, link)
    6. \n \n
    7. \n \n
    8.         return links
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    links
    {}
    method
    'GET'
    path
    '/swagger'
    paths
    ['/swagger']
    prefix
    '/'
    request
    <rest_framework.request.Request: GET '/swagger'>
    self
    <rest_framework.schemas.coreapi.SchemaGenerator object at 0x000001AD2B9285F0>
    view
    <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B630CE0>
    view_endpoints
    [('/swagger',\n  'GET',\n  <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001AD2B630CE0>)]
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
csrftoken
'********************'
\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
'3vjN9LFzZJe1qadGrDu5YDm6hi6UPDQ2'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br, zstd'
HTTP_ACCEPT_LANGUAGE
'fa,en-US;q=0.9,en;q=0.8'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'********************'
HTTP_HOST
'127.0.0.1:8000'
HTTP_SEC_CH_UA
'"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'
HTTP_SEC_CH_UA_MOBILE
'?0'
HTTP_SEC_CH_UA_PLATFORM
'"Windows"'
HTTP_SEC_FETCH_DEST
'document'
HTTP_SEC_FETCH_MODE
'navigate'
HTTP_SEC_FETCH_SITE
'none'
HTTP_SEC_FETCH_USER
'?1'
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '\n 'Gecko) Chrome/136.0.0.0 Safari/537.36')
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001AD2B949420>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'rest_framework_swagger']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:48:16.113755"}, "221": {"endpoint": "/swagger", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 72, "body_response": "\n\n\n \n \n TemplateSyntaxError\n at /swagger\n \n \n \n \n\n\n
\n

TemplateSyntaxError\n at /swagger

\n
'staticfiles' is not a registered tag library. Must be one of:\nadmin_list\nadmin_modify\nadmin_urls\ncache\ni18n\nl10n\nlog\nrest_framework\nstatic\ntz
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
Django Version:5.0
Exception Type:TemplateSyntaxError
Exception Value:
'staticfiles' is not a registered tag library. Must be one of:\nadmin_list\nadmin_modify\nadmin_urls\ncache\ni18n\nl10n\nlog\nrest_framework\nstatic\ntz
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\template\\defaulttags.py, line 1035, in find_library
Raised during:rest_framework_swagger.views.SwaggerSchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:19:29 +0000
\n
\n\n\n\n
\n

Error during template rendering

\n

In template D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\templates\\rest_framework_swagger\\index.html, error at line 2

\n

'staticfiles' is not a registered tag library. Must be one of:\nadmin_list\nadmin_modify\nadmin_urls\ncache\ni18n\nl10n\nlog\nrest_framework\nstatic\ntz

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
1{% load i18n %}\n
2{% load staticfiles %}\n
3<!DOCTYPE html>\n
4<html lang="en">\n
5<head>\n
6 <meta charset="UTF-8">\n
7 <title>Swagger UI</title>\n
8 <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">\n
9 <link href="{% static 'rest_framework_swagger/bundles/vendors.bundle.css' %}" rel="stylesheet" type="text/css">\n
10 <link href="{% static 'rest_framework_swagger/bundles/app.bundle.css' %}" rel="stylesheet" type="text/css">\n
11 {% block extra_styles %}\n
12 {# -- Add any additional CSS scripts here -- #}\n
\n
\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\defaulttags.py, line 1033, in find_library\n \n\n \n
    \n \n
      \n \n
    1.         nodelist_false = NodeList()
    2. \n \n
    3.     values = [parser.compile_filter(bit) for bit in bits[1:]]
    4. \n \n
    5.     return IfChangedNode(nodelist_true, nodelist_false, *values)
    6. \n \n
    7. \n \n
    8. \n \n
    9. def find_library(parser, name):
    10. \n \n
    11.     try:
    12. \n \n
    \n \n
      \n
    1.         return parser.libraries[name]\n                     ^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     except KeyError:
    2. \n \n
    3.         raise TemplateSyntaxError(
    4. \n \n
    5.             "'%s' is not a registered tag library. Must be one of:\\n%s"
    6. \n \n
    7.             % (
    8. \n \n
    9.                 name,
    10. \n \n
    11.                 "\\n".join(sorted(parser.libraries)),
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    name
    'staticfiles'
    parser
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    \n
    \n \n
  • \n \n \n
  • \n \n During handling of the above exception ('staticfiles'), another exception occurred:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TemplateSyntaxError("'staticfiles' is not a registered tag library. Must be one of:\\nadmin_list\\nadmin_modify\\nadmin_urls\\ncache\\ni18n\\nl10n\\nlog\\nrest_framework\\nstatic\\ntz")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001F02C3F3D40>>
    request
    <WSGIRequest: GET '/swagger'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 220, in _get_response\n \n\n \n
    \n \n
      \n \n
    1.                 self.check_response(
    2. \n \n
    3.                     response,
    4. \n \n
    5.                     middleware_method,
    6. \n \n
    7.                     name="%s.process_template_response"
    8. \n \n
    9.                     % (middleware_method.__self__.__class__.__name__,),
    10. \n \n
    11.                 )
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 response = response.render()\n                                ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         return response
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000001F02C13EDE0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001F02C3F3D40>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000001F02C13EDE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\response.py, line 114, in render\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         If the content has already been rendered, this is a no-op.
    3. \n \n
    4. \n \n
    5.         Return the baked response instance.
    6. \n \n
    7.         """
    8. \n \n
    9.         retval = self
    10. \n \n
    11.         if not self._is_rendered:
    12. \n \n
    \n \n
      \n
    1.             self.content = self.rendered_content\n                                ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             for post_callback in self._post_render_callbacks:
    2. \n \n
    3.                 newretval = post_callback(retval)
    4. \n \n
    5.                 if newretval is not None:
    6. \n \n
    7.                     retval = newretval
    8. \n \n
    9.         return retval
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    retval
    <Response status_code=200, "text/html; charset=utf-8">
    self
    <Response status_code=200, "text/html; charset=utf-8">
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\response.py, line 74, in rendered_content\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if content_type is None and charset is not None:
    3. \n \n
    4.             content_type = "{}; charset={}".format(media_type, charset)
    5. \n \n
    6.         elif content_type is None:
    7. \n \n
    8.             content_type = media_type
    9. \n \n
    10.         self['Content-Type'] = content_type
    11. \n \n
    12. \n \n
    \n \n
      \n
    1.         ret = renderer.render(self.data, accepted_media_type, context)\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if isinstance(ret, str):
    2. \n \n
    3.             assert charset, (
    4. \n \n
    5.                 'renderer returned unicode, and did not specify '
    6. \n \n
    7.                 'a charset value.'
    8. \n \n
    9.             )
    10. \n \n
    11.             return ret.encode(charset)
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    accepted_media_type
    'text/html'
    charset
    'utf-8'
    content_type
    'text/html; charset=utf-8'
    context
    {'LOGIN_URL': '/accounts/login/',\n 'USE_SESSION_AUTH': True,\n 'args': (),\n 'drs_settings': '{"apisSorter": null, "docExpansion": null, "jsonEditor": '\n                 'false, "operationsSorter": null, "showRequestHeaders": '\n                 'false, "supportedSubmitMethods": ["get", "post", "put", '\n                 '"delete", "patch"], "acceptHeaderVersion": null, '\n                 '"customHeaders": {}}',\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'response': <Response status_code=200, "text/html; charset=utf-8">,\n 'spec': '{"swagger": "2.0", "info": {"title": "RasadDamApis", "description": '\n         '"", "version": ""}, "host": "127.0.0.1:8000", "schemes": ["http"], '\n         '"paths": {"/swagger": {"get": {"operationId": "list", "responses": '\n         '{"200": {"description": ""}}, "parameters": [], "tags": '\n         '["swagger"]}}}, "securityDefinitions": {"basic": {"type": "basic"}}}',\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001F02C7294C0>}
    media_type
    'text/html'
    renderer
    <rest_framework_swagger.renderers.SwaggerUIRenderer object at 0x000001F02C72A720>
    self
    <Response status_code=200, "text/html; charset=utf-8">
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_swagger\\renderers.py, line 55, in render\n \n\n \n
    \n \n
      \n \n
    1.     media_type = 'text/html'
    2. \n \n
    3.     format = 'swagger'
    4. \n \n
    5.     template = 'rest_framework_swagger/index.html'
    6. \n \n
    7.     charset = 'utf-8'
    8. \n \n
    9. \n \n
    10.     def render(self, data, accepted_media_type=None, renderer_context=None):
    11. \n \n
    12.         self.set_context(data, renderer_context)
    13. \n \n
    \n \n
      \n
    1.         return render(\n                   
      \u2026
    2. \n
    \n \n
      \n \n
    1.             renderer_context['request'],
    2. \n \n
    3.             self.template,
    4. \n \n
    5.             renderer_context
    6. \n \n
    7.         )
    8. \n \n
    9. \n \n
    10.     def set_context(self, data, renderer_context):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    accepted_media_type
    'text/html'
    data
    Document(url='http://127.0.0.1:8000/swagger', title='RasadDamApis', content={'swagger': {'list': Link(url='/swagger', action='get')}})
    renderer_context
    {'LOGIN_URL': '/accounts/login/',\n 'USE_SESSION_AUTH': True,\n 'args': (),\n 'drs_settings': '{"apisSorter": null, "docExpansion": null, "jsonEditor": '\n                 'false, "operationsSorter": null, "showRequestHeaders": '\n                 'false, "supportedSubmitMethods": ["get", "post", "put", '\n                 '"delete", "patch"], "acceptHeaderVersion": null, '\n                 '"customHeaders": {}}',\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'response': <Response status_code=200, "text/html; charset=utf-8">,\n 'spec': '{"swagger": "2.0", "info": {"title": "RasadDamApis", "description": '\n         '"", "version": ""}, "host": "127.0.0.1:8000", "schemes": ["http"], '\n         '"paths": {"/swagger": {"get": {"operationId": "list", "responses": '\n         '{"200": {"description": ""}}, "parameters": [], "tags": '\n         '["swagger"]}}}, "securityDefinitions": {"basic": {"type": "basic"}}}',\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001F02C7294C0>}
    self
    <rest_framework_swagger.renderers.SwaggerUIRenderer object at 0x000001F02C72A720>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\shortcuts.py, line 24, in render\n \n\n \n
    \n \n
      \n \n
    1. def render(
    2. \n \n
    3.     request, template_name, context=None, content_type=None, status=None, using=None
    4. \n \n
    5. ):
    6. \n \n
    7.     """
    8. \n \n
    9.     Return an HttpResponse whose content is filled with the result of calling
    10. \n \n
    11.     django.template.loader.render_to_string() with the passed arguments.
    12. \n \n
    13.     """
    14. \n \n
    \n \n
      \n
    1.     content = loader.render_to_string(template_name, context, request, using=using)\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     return HttpResponse(content, content_type, status)
    2. \n \n
    3. \n \n
    4. \n \n
    5. def redirect(to, *args, permanent=False, **kwargs):
    6. \n \n
    7.     """
    8. \n \n
    9.     Return an HttpResponseRedirect to the appropriate URL for the arguments
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    content_type
    None
    context
    {'LOGIN_URL': '/accounts/login/',\n 'USE_SESSION_AUTH': True,\n 'args': (),\n 'drs_settings': '{"apisSorter": null, "docExpansion": null, "jsonEditor": '\n                 'false, "operationsSorter": null, "showRequestHeaders": '\n                 'false, "supportedSubmitMethods": ["get", "post", "put", '\n                 '"delete", "patch"], "acceptHeaderVersion": null, '\n                 '"customHeaders": {}}',\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'response': <Response status_code=200, "text/html; charset=utf-8">,\n 'spec': '{"swagger": "2.0", "info": {"title": "RasadDamApis", "description": '\n         '"", "version": ""}, "host": "127.0.0.1:8000", "schemes": ["http"], '\n         '"paths": {"/swagger": {"get": {"operationId": "list", "responses": '\n         '{"200": {"description": ""}}, "parameters": [], "tags": '\n         '["swagger"]}}}, "securityDefinitions": {"basic": {"type": "basic"}}}',\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001F02C7294C0>}
    request
    <rest_framework.request.Request: GET '/swagger'>
    status
    None
    template_name
    'rest_framework_swagger/index.html'
    using
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\loader.py, line 61, in render_to_string\n \n\n \n
    \n \n
      \n \n
    1.     Load a template and render it with a context. Return a string.
    2. \n \n
    3. \n \n
    4.     template_name may be a string or a list of strings.
    5. \n \n
    6.     """
    7. \n \n
    8.     if isinstance(template_name, (list, tuple)):
    9. \n \n
    10.         template = select_template(template_name, using=using)
    11. \n \n
    12.     else:
    13. \n \n
    \n \n
      \n
    1.         template = get_template(template_name, using=using)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     return template.render(context, request)
    2. \n \n
    3. \n \n
    4. \n \n
    5. def _engine_list(using=None):
    6. \n \n
    7.     return engines.all() if using is None else [engines[using]]
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'LOGIN_URL': '/accounts/login/',\n 'USE_SESSION_AUTH': True,\n 'args': (),\n 'drs_settings': '{"apisSorter": null, "docExpansion": null, "jsonEditor": '\n                 'false, "operationsSorter": null, "showRequestHeaders": '\n                 'false, "supportedSubmitMethods": ["get", "post", "put", '\n                 '"delete", "patch"], "acceptHeaderVersion": null, '\n                 '"customHeaders": {}}',\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger'>,\n 'response': <Response status_code=200, "text/html; charset=utf-8">,\n 'spec': '{"swagger": "2.0", "info": {"title": "RasadDamApis", "description": '\n         '"", "version": ""}, "host": "127.0.0.1:8000", "schemes": ["http"], '\n         '"paths": {"/swagger": {"get": {"operationId": "list", "responses": '\n         '{"200": {"description": ""}}, "parameters": [], "tags": '\n         '["swagger"]}}}, "securityDefinitions": {"basic": {"type": "basic"}}}',\n 'view': <rest_framework_swagger.views.get_swagger_view.<locals>.SwaggerSchemaView object at 0x000001F02C7294C0>}
    request
    <rest_framework.request.Request: GET '/swagger'>
    template_name
    'rest_framework_swagger/index.html'
    using
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\loader.py, line 15, in get_template\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     Raise TemplateDoesNotExist if no such template exists.
    3. \n \n
    4.     """
    5. \n \n
    6.     chain = []
    7. \n \n
    8.     engines = _engine_list(using)
    9. \n \n
    10.     for engine in engines:
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             return engine.get_template(template_name)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TemplateDoesNotExist as e:
    2. \n \n
    3.             chain.append(e)
    4. \n \n
    5. \n \n
    6.     raise TemplateDoesNotExist(template_name, chain=chain)
    7. \n \n
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    chain
    []
    engine
    <django.template.backends.django.DjangoTemplates object at 0x000001F02BED7770>
    engines
    [<django.template.backends.django.DjangoTemplates object at 0x000001F02BED7770>]
    template_name
    'rest_framework_swagger/index.html'
    using
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\backends\\django.py, line 33, in get_template\n \n\n \n
    \n \n
      \n \n
    1.         self.engine = Engine(self.dirs, self.app_dirs, **options)
    2. \n \n
    3. \n \n
    4.     def from_string(self, template_code):
    5. \n \n
    6.         return Template(self.engine.from_string(template_code), self)
    7. \n \n
    8. \n \n
    9.     def get_template(self, template_name):
    10. \n \n
    11.         try:
    12. \n \n
    \n \n
      \n
    1.             return Template(self.engine.get_template(template_name), self)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TemplateDoesNotExist as exc:
    2. \n \n
    3.             reraise(exc, self)
    4. \n \n
    5. \n \n
    6.     def get_templatetag_libraries(self, custom_libraries):
    7. \n \n
    8.         """
    9. \n \n
    10.         Return a collation of template tag libraries from installed
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <django.template.backends.django.DjangoTemplates object at 0x000001F02BED7770>
    template_name
    'rest_framework_swagger/index.html'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\engine.py, line 175, in get_template\n \n\n \n
    \n \n
      \n \n
    1.         return Template(template_code, engine=self)
    2. \n \n
    3. \n \n
    4.     def get_template(self, template_name):
    5. \n \n
    6.         """
    7. \n \n
    8.         Return a compiled Template object for the given template name,
    9. \n \n
    10.         handling template inheritance recursively.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         template, origin = self.find_template(template_name)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if not hasattr(template, "render"):
    2. \n \n
    3.             # template needs to be compiled
    4. \n \n
    5.             template = Template(template, origin, template_name, engine=self)
    6. \n \n
    7.         return template
    8. \n \n
    9. \n \n
    10.     def render_to_string(self, template_name, context=None):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <Engine: app_dirs=True context_processors=['django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True>
    template_name
    'rest_framework_swagger/index.html'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\engine.py, line 157, in find_template\n \n\n \n
    \n \n
      \n \n
    1.                 "Invalid value in template loaders configuration: %r" % loader
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     def find_template(self, name, dirs=None, skip=None):
    7. \n \n
    8.         tried = []
    9. \n \n
    10.         for loader in self.template_loaders:
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 template = loader.get_template(name, skip=skip)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 return template, template.origin
    2. \n \n
    3.             except TemplateDoesNotExist as e:
    4. \n \n
    5.                 tried.extend(e.tried)
    6. \n \n
    7.         raise TemplateDoesNotExist(name, tried=tried)
    8. \n \n
    9. \n \n
    10.     def from_string(self, template_code):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    dirs
    None
    loader
    <django.template.loaders.cached.Loader object at 0x000001F02C1599D0>
    name
    'rest_framework_swagger/index.html'
    self
    <Engine: app_dirs=True context_processors=['django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True>
    skip
    None
    tried
    []
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\loaders\\cached.py, line 57, in get_template\n \n\n \n
    \n \n
      \n \n
    1.             if isinstance(cached, type) and issubclass(cached, TemplateDoesNotExist):
    2. \n \n
    3.                 raise cached(template_name)
    4. \n \n
    5.             elif isinstance(cached, TemplateDoesNotExist):
    6. \n \n
    7.                 raise copy_exception(cached)
    8. \n \n
    9.             return cached
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             template = super().get_template(template_name, skip)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TemplateDoesNotExist as e:
    2. \n \n
    3.             self.get_template_cache[key] = (
    4. \n \n
    5.                 copy_exception(e) if self.engine.debug else TemplateDoesNotExist
    6. \n \n
    7.             )
    8. \n \n
    9.             raise
    10. \n \n
    11.         else:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'django.template.loaders.cached.Loader'>
    cached
    None
    key
    'rest_framework_swagger/index.html'
    self
    <django.template.loaders.cached.Loader object at 0x000001F02C1599D0>
    skip
    None
    template_name
    'rest_framework_swagger/index.html'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\loaders\\base.py, line 28, in get_template\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.             try:
    3. \n \n
    4.                 contents = self.get_contents(origin)
    5. \n \n
    6.             except TemplateDoesNotExist:
    7. \n \n
    8.                 tried.append((origin, "Source does not exist"))
    9. \n \n
    10.                 continue
    11. \n \n
    12.             else:
    13. \n \n
    \n \n
      \n
    1.                 return Template(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     contents,
    2. \n \n
    3.                     origin,
    4. \n \n
    5.                     origin.template_name,
    6. \n \n
    7.                     self.engine,
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    contents
    ('{% load i18n %}\\n'\n '{% load staticfiles %}\\n'\n '<!DOCTYPE html>\\n'\n '<html lang="en">\\n'\n '<head>\\n'\n '  <meta charset="UTF-8">\\n'\n '  <title>Swagger UI</title>\\n'\n '  <link '\n 'href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" '\n 'rel="stylesheet">\\n'\n '  <link href="{% static '\n '\\'rest_framework_swagger/bundles/vendors.bundle.css\\' %}" rel="stylesheet" '\n 'type="text/css">\\n'\n '  <link href="{% static \\'rest_framework_swagger/bundles/app.bundle.css\\' '\n '%}" rel="stylesheet" type="text/css">\\n'\n '  {% block extra_styles %}\\n'\n '  {# -- Add any additional CSS scripts here -- #}\\n'\n '  {% endblock %}\\n'\n '</head>\\n'\n '\\n'\n '<body>\\n'\n '  <div class="swagger-ui">\\n'\n '    <div class="topbar">\\n'\n '      <div class="wrapper">\\n'\n '        <div class="topbar-wrapper">\\n'\n '          <a href="#" class="link">\\n'\n '            <img src="{% static \\'rest_framework_swagger/logo_small.png\\' '\n '%}" alt="Swagger Logo">\\n'\n '            <span>swagger</span>\\n'\n '          </a>\\n'\n '          <div class="download-url-wrapper">\\n'\n '          {% if USE_SESSION_AUTH %}\\n'\n '            {% if request.user.is_authenticated %}\\n'\n '            <a class="download-url-button button" href="{{ LOGOUT_URL '\n '}}?next={{ request.path }}">{% trans "Logout" %}</a>\\n'\n '            {% else %}\\n'\n '            <a class="download-url-button button" href="{{ LOGIN_URL '\n '}}?next={{ request.path }}">{% trans "Session Login" %}</a>\\n'\n '            {% endif %}\\n'\n '          {% endif %}\\n'\n '          </div>\\n'\n '        </div>\\n'\n '      </div>\\n'\n '    </div>\\n'\n '    {% if USE_SESSION_AUTH %}\\n'\n '    <div class="user-context wrapper">\\n'\n '      {% block user_context_message %}\\n'\n '        {% if request.user.is_authenticated %}\\n'\n '          {% trans "You are logged in as: " %}<strong>{{ request.user '\n '}}</strong>\\n'\n '        {% else %}\\n'\n '           {% trans "Viewing as an anoymous user" %}\\n'\n '       {% endif %}\\n'\n '      {% endblock %}\\n'\n '    </div>\\n'\n '    {% endif %}\\n'\n '  </div>\\n'\n '\\n'\n '  <div id="rest-swagger-ui"></div>\\n'\n '  {% csrf_token %}\\n'\n '\\n'\n '  <footer class="swagger-ui">\\n'\n '    <div class="wrapper">\\n'\n '      {% trans "Powered by "%}<a '\n 'href="https://github.com/marcgibbons/django-rest-swagger" '\n 'target="_new">Django REST Swagger</a>\\n'\n '    </div>\\n'\n '  </footer>\\n'\n '\\n'\n '  <script>\\n'\n '    window.drsSettings = {{ drs_settings|safe }};\\n'\n '    window.drsSpec = {{ spec|safe }};\\n'\n '  </script>\\n'\n '  <script src="{% static '\n '\\'rest_framework_swagger/bundles/vendors.bundle.js\\' %}"></script>\\n'\n '  <script src="{% static \\'rest_framework_swagger/bundles/app.bundle.js\\' '\n '%}"></script>\\n'\n '  {% block extra_scripts %}\\n'\n '  {# -- Add any additional scripts here -- #}\\n'\n '  {% endblock %}\\n'\n '</body>\\n'\n '\\n'\n '</html>\\n')
    origin
    <Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\rest_framework_swagger\\\\templates\\\\rest_framework_swagger\\\\index.html'>
    self
    <django.template.loaders.cached.Loader object at 0x000001F02C1599D0>
    skip
    None
    template_name
    'rest_framework_swagger/index.html'
    tried
    [(<Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\django\\\\contrib\\\\admin\\\\templates\\\\rest_framework_swagger\\\\index.html'>,\n  'Source does not exist'),\n (<Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\django\\\\contrib\\\\auth\\\\templates\\\\rest_framework_swagger\\\\index.html'>,\n  'Source does not exist'),\n (<Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\rest_framework\\\\templates\\\\rest_framework_swagger\\\\index.html'>,\n  'Source does not exist'),\n (<Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\captcha\\\\templates\\\\rest_framework_swagger\\\\index.html'>,\n  'Source does not exist')]
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\base.py, line 154, in __init__\n \n\n \n
    \n \n
      \n \n
    1.             engine = Engine.get_default()
    2. \n \n
    3.         if origin is None:
    4. \n \n
    5.             origin = Origin(UNKNOWN_SOURCE)
    6. \n \n
    7.         self.name = name
    8. \n \n
    9.         self.origin = origin
    10. \n \n
    11.         self.engine = engine
    12. \n \n
    13.         self.source = str(template_string)  # May be lazy.
    14. \n \n
    \n \n
      \n
    1.         self.nodelist = self.compile_nodelist()\n                             ^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __repr__(self):
    3. \n \n
    4.         return '<%s template_string="%s...">' % (
    5. \n \n
    6.             self.__class__.__qualname__,
    7. \n \n
    8.             self.source[:20].replace("\\n", ""),
    9. \n \n
    10.         )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    engine
    <Engine: app_dirs=True context_processors=['django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True>
    name
    'rest_framework_swagger/index.html'
    origin
    <Origin name='D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\rest_framework_swagger\\\\templates\\\\rest_framework_swagger\\\\index.html'>
    self
    <Template template_string="{% load i18n %}{% l...">
    template_string
    ('{% load i18n %}\\n'\n '{% load staticfiles %}\\n'\n '<!DOCTYPE html>\\n'\n '<html lang="en">\\n'\n '<head>\\n'\n '  <meta charset="UTF-8">\\n'\n '  <title>Swagger UI</title>\\n'\n '  <link '\n 'href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" '\n 'rel="stylesheet">\\n'\n '  <link href="{% static '\n '\\'rest_framework_swagger/bundles/vendors.bundle.css\\' %}" rel="stylesheet" '\n 'type="text/css">\\n'\n '  <link href="{% static \\'rest_framework_swagger/bundles/app.bundle.css\\' '\n '%}" rel="stylesheet" type="text/css">\\n'\n '  {% block extra_styles %}\\n'\n '  {# -- Add any additional CSS scripts here -- #}\\n'\n '  {% endblock %}\\n'\n '</head>\\n'\n '\\n'\n '<body>\\n'\n '  <div class="swagger-ui">\\n'\n '    <div class="topbar">\\n'\n '      <div class="wrapper">\\n'\n '        <div class="topbar-wrapper">\\n'\n '          <a href="#" class="link">\\n'\n '            <img src="{% static \\'rest_framework_swagger/logo_small.png\\' '\n '%}" alt="Swagger Logo">\\n'\n '            <span>swagger</span>\\n'\n '          </a>\\n'\n '          <div class="download-url-wrapper">\\n'\n '          {% if USE_SESSION_AUTH %}\\n'\n '            {% if request.user.is_authenticated %}\\n'\n '            <a class="download-url-button button" href="{{ LOGOUT_URL '\n '}}?next={{ request.path }}">{% trans "Logout" %}</a>\\n'\n '            {% else %}\\n'\n '            <a class="download-url-button button" href="{{ LOGIN_URL '\n '}}?next={{ request.path }}">{% trans "Session Login" %}</a>\\n'\n '            {% endif %}\\n'\n '          {% endif %}\\n'\n '          </div>\\n'\n '        </div>\\n'\n '      </div>\\n'\n '    </div>\\n'\n '    {% if USE_SESSION_AUTH %}\\n'\n '    <div class="user-context wrapper">\\n'\n '      {% block user_context_message %}\\n'\n '        {% if request.user.is_authenticated %}\\n'\n '          {% trans "You are logged in as: " %}<strong>{{ request.user '\n '}}</strong>\\n'\n '        {% else %}\\n'\n '           {% trans "Viewing as an anoymous user" %}\\n'\n '       {% endif %}\\n'\n '      {% endblock %}\\n'\n '    </div>\\n'\n '    {% endif %}\\n'\n '  </div>\\n'\n '\\n'\n '  <div id="rest-swagger-ui"></div>\\n'\n '  {% csrf_token %}\\n'\n '\\n'\n '  <footer class="swagger-ui">\\n'\n '    <div class="wrapper">\\n'\n '      {% trans "Powered by "%}<a '\n 'href="https://github.com/marcgibbons/django-rest-swagger" '\n 'target="_new">Django REST Swagger</a>\\n'\n '    </div>\\n'\n '  </footer>\\n'\n '\\n'\n '  <script>\\n'\n '    window.drsSettings = {{ drs_settings|safe }};\\n'\n '    window.drsSpec = {{ spec|safe }};\\n'\n '  </script>\\n'\n '  <script src="{% static '\n '\\'rest_framework_swagger/bundles/vendors.bundle.js\\' %}"></script>\\n'\n '  <script src="{% static \\'rest_framework_swagger/bundles/app.bundle.js\\' '\n '%}"></script>\\n'\n '  {% block extra_scripts %}\\n'\n '  {# -- Add any additional scripts here -- #}\\n'\n '  {% endblock %}\\n'\n '</body>\\n'\n '\\n'\n '</html>\\n')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\base.py, line 196, in compile_nodelist\n \n\n \n
    \n \n
      \n \n
    1.             tokens,
    2. \n \n
    3.             self.engine.template_libraries,
    4. \n \n
    5.             self.engine.template_builtins,
    6. \n \n
    7.             self.origin,
    8. \n \n
    9.         )
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             return parser.parse()\n                        ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except Exception as e:
    2. \n \n
    3.             if self.engine.debug:
    4. \n \n
    5.                 e.template_debug = self.get_exception_info(e, e.token)
    6. \n \n
    7.             raise
    8. \n \n
    9. \n \n
    10.     def get_exception_info(self, exception, token):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    lexer
    <DebugLexer template_string="{% load i18n %}{% l...", verbatim=False>
    parser
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    self
    <Template template_string="{% load i18n %}{% l...">
    tokens
    [<Block token: "load i18n...">,\n <Text token: "...">,\n <Block token: "load staticfiles...">,\n <Text token: "<!DOCTYPE html><ht...">,\n <Block token: "static 'rest_framewo...">,\n <Text token: "" rel="stylesheet" t...">,\n <Block token: "static 'rest_framewo...">,\n <Text token: "" rel="stylesheet" t...">,\n <Block token: "block extra_styles...">,\n <Text token: "  ...">,\n <Comment token: "-- Add any additiona...">,\n <Text token: "  ...">,\n <Block token: "endblock...">,\n <Text token: "</head><body>  <...">,\n <Block token: "static 'rest_framewo...">,\n <Text token: "" alt="Swagger Logo"...">,\n <Block token: "if USE_SESSION_AUTH...">,\n <Text token: "            ...">,\n <Block token: "if request.user.is_a...">,\n <Text token: "            <a clas...">,\n <Var token: "LOGOUT_URL...">,\n <Text token: "?next=...">,\n <Var token: "request.path...">,\n <Text token: "">...">,\n <Block token: "trans "Logout"...">,\n <Text token: "</a>            ...">,\n <Block token: "else...">,\n <Text token: "            <a clas...">,\n <Var token: "LOGIN_URL...">,\n <Text token: "?next=...">,\n <Var token: "request.path...">,\n <Text token: "">...">,\n <Block token: "trans "Session Login...">,\n <Text token: "</a>            ...">,\n <Block token: "endif...">,\n <Text token: "          ...">,\n <Block token: "endif...">,\n <Text token: "          </div>  ...">,\n <Block token: "if USE_SESSION_AUTH...">,\n <Text token: "    <div class="use...">,\n <Block token: "block user_context_m...">,\n <Text token: "        ...">,\n <Block token: "if request.user.is_a...">,\n <Text token: "          ...">,\n <Block token: "trans "You are logge...">,\n <Text token: "<strong>...">,\n <Var token: "request.user...">,\n <Text token: "</strong>        ...">,\n <Block token: "else...">,\n <Text token: "           ...">,\n <Block token: "trans "Viewing as an...">,\n <Text token: "       ...">,\n <Block token: "endif...">,\n <Text token: "      ...">,\n <Block token: "endblock...">,\n <Text token: "    </div>    ...">,\n <Block token: "endif...">,\n <Text token: "  </div>  <div id...">,\n <Block token: "csrf_token...">,\n <Text token: "  <footer class="s...">,\n <Block token: "trans "Powered by "...">,\n <Text token: "<a href="https://git...">,\n <Var token: "drs_settings|safe...">,\n <Text token: ";    window.drsSpec...">,\n <Var token: "spec|safe...">,\n <Text token: ";  </script>  <scr...">,\n <Block token: "static 'rest_framewo...">,\n <Text token: ""></script>  <scrip...">,\n <Block token: "static 'rest_framewo...">,\n <Text token: ""></script>  ...">,\n <Block token: "block extra_scripts...">,\n <Text token: "  ...">,\n <Comment token: "-- Add any additiona...">,\n <Text token: "  ...">,\n <Block token: "endblock...">,\n <Text token: "</body></html>...">]
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\base.py, line 510, in parse\n \n\n \n
    \n \n
      \n \n
    1.                 except KeyError:
    2. \n \n
    3.                     self.invalid_block_tag(token, command, parse_until)
    4. \n \n
    5.                 # Compile the callback into a node object and add it to
    6. \n \n
    7.                 # the node list.
    8. \n \n
    9.                 try:
    10. \n \n
    11.                     compiled_result = compile_func(self, token)
    12. \n \n
    13.                 except Exception as e:
    14. \n \n
    \n \n
      \n
    1.                     raise self.error(token, e)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.extend_nodelist(nodelist, compiled_result, token)
    2. \n \n
    3.                 # Compile success. Remove the token from the command stack.
    4. \n \n
    5.                 self.command_stack.pop()
    6. \n \n
    7.         if parse_until:
    8. \n \n
    9.             self.unclosed_block_tag(parse_until)
    10. \n \n
    11.         return nodelist
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    command
    'load'
    compile_func
    <function load at 0x000001F028CC44A0>
    compiled_result
    <django.template.defaulttags.LoadNode object at 0x000001F02C754590>
    nodelist
    [<django.template.defaulttags.LoadNode object at 0x000001F02C754590>,\n <TextNode: '\\n'>]
    parse_until
    []
    self
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    token
    <Block token: "load staticfiles...">
    token_type
    2
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\base.py, line 508, in parse\n \n\n \n
    \n \n
      \n \n
    1.                 try:
    2. \n \n
    3.                     compile_func = self.tags[command]
    4. \n \n
    5.                 except KeyError:
    6. \n \n
    7.                     self.invalid_block_tag(token, command, parse_until)
    8. \n \n
    9.                 # Compile the callback into a node object and add it to
    10. \n \n
    11.                 # the node list.
    12. \n \n
    13.                 try:
    14. \n \n
    \n \n
      \n
    1.                     compiled_result = compile_func(self, token)\n                                           ^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 except Exception as e:
    2. \n \n
    3.                     raise self.error(token, e)
    4. \n \n
    5.                 self.extend_nodelist(nodelist, compiled_result, token)
    6. \n \n
    7.                 # Compile success. Remove the token from the command stack.
    8. \n \n
    9.                 self.command_stack.pop()
    10. \n \n
    11.         if parse_until:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    command
    'load'
    compile_func
    <function load at 0x000001F028CC44A0>
    compiled_result
    <django.template.defaulttags.LoadNode object at 0x000001F02C754590>
    nodelist
    [<django.template.defaulttags.LoadNode object at 0x000001F02C754590>,\n <TextNode: '\\n'>]
    parse_until
    []
    self
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    token
    <Block token: "load staticfiles...">
    token_type
    2
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\defaulttags.py, line 1095, in load\n \n\n \n
    \n \n
      \n \n
    1.         name = bits[-1]
    2. \n \n
    3.         lib = find_library(parser, name)
    4. \n \n
    5.         subset = load_from_library(lib, name, bits[1:-2])
    6. \n \n
    7.         parser.add_library(subset)
    8. \n \n
    9.     else:
    10. \n \n
    11.         # one or more libraries are specified; load and add them to the parser
    12. \n \n
    13.         for name in bits[1:]:
    14. \n \n
    \n \n
      \n
    1.             lib = find_library(parser, name)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             parser.add_library(lib)
    2. \n \n
    3.     return LoadNode()
    4. \n \n
    5. \n \n
    6. \n \n
    7. @register.tag
    8. \n \n
    9. def lorem(parser, token):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    bits
    ['load', 'staticfiles']
    name
    'staticfiles'
    parser
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    token
    <Block token: "load staticfiles...">
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\template\\defaulttags.py, line 1035, in find_library\n \n\n \n
    \n \n
      \n \n
    1.     return IfChangedNode(nodelist_true, nodelist_false, *values)
    2. \n \n
    3. \n \n
    4. \n \n
    5. def find_library(parser, name):
    6. \n \n
    7.     try:
    8. \n \n
    9.         return parser.libraries[name]
    10. \n \n
    11.     except KeyError:
    12. \n \n
    \n \n
      \n
    1.         raise TemplateSyntaxError(\n              ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "'%s' is not a registered tag library. Must be one of:\\n%s"
    2. \n \n
    3.             % (
    4. \n \n
    5.                 name,
    6. \n \n
    7.                 "\\n".join(sorted(parser.libraries)),
    8. \n \n
    9.             ),
    10. \n \n
    11.         )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    name
    'staticfiles'
    parser
    <Parser tokens=[<Text token: "</body></html>...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_scripts...">, <Text token: ""></script>  ...">, <Block token: "static 'rest_framewo...">, <Text token: ""></script>  <scrip...">, <Block token: "static 'rest_framewo...">, <Text token: ";  </script>  <scr...">, <Var token: "spec|safe...">, <Text token: ";    window.drsSpec...">, <Var token: "drs_settings|safe...">, <Text token: "<a href="https://git...">, <Block token: "trans "Powered by "...">, <Text token: "  <footer class="s...">, <Block token: "csrf_token...">, <Text token: "  </div>  <div id...">, <Block token: "endif...">, <Text token: "    </div>    ...">, <Block token: "endblock...">, <Text token: "      ...">, <Block token: "endif...">, <Text token: "       ...">, <Block token: "trans "Viewing as an...">, <Text token: "           ...">, <Block token: "else...">, <Text token: "</strong>        ...">, <Var token: "request.user...">, <Text token: "<strong>...">, <Block token: "trans "You are logge...">, <Text token: "          ...">, <Block token: "if request.user.is_a...">, <Text token: "        ...">, <Block token: "block user_context_m...">, <Text token: "    <div class="use...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "          </div>  ...">, <Block token: "endif...">, <Text token: "          ...">, <Block token: "endif...">, <Text token: "</a>            ...">, <Block token: "trans "Session Login...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGIN_URL...">, <Text token: "            <a clas...">, <Block token: "else...">, <Text token: "</a>            ...">, <Block token: "trans "Logout"...">, <Text token: "">...">, <Var token: "request.path...">, <Text token: "?next=...">, <Var token: "LOGOUT_URL...">, <Text token: "            <a clas...">, <Block token: "if request.user.is_a...">, <Text token: "            ...">, <Block token: "if USE_SESSION_AUTH...">, <Text token: "" alt="Swagger Logo"...">, <Block token: "static 'rest_framewo...">, <Text token: "</head><body>  <...">, <Block token: "endblock...">, <Text token: "  ...">, <Comment token: "-- Add any additiona...">, <Text token: "  ...">, <Block token: "block extra_styles...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "" rel="stylesheet" t...">, <Block token: "static 'rest_framewo...">, <Text token: "<!DOCTYPE html><ht...">]>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
csrftoken
'********************'
\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
'3vjN9LFzZJe1qadGrDu5YDm6hi6UPDQ2'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br, zstd'
HTTP_ACCEPT_LANGUAGE
'fa,en-US;q=0.9,en;q=0.8'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'********************'
HTTP_HOST
'127.0.0.1:8000'
HTTP_SEC_CH_UA
'"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'
HTTP_SEC_CH_UA_MOBILE
'?0'
HTTP_SEC_CH_UA_PLATFORM
'"Windows"'
HTTP_SEC_FETCH_DEST
'document'
HTTP_SEC_FETCH_MODE
'navigate'
HTTP_SEC_FETCH_SITE
'none'
HTTP_SEC_FETCH_USER
'?1'
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '\n 'Gecko) Chrome/136.0.0.0 Safari/537.36')
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001F02C72B040>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'rest_framework_swagger']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:49:29.299189"}, "222": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 19, "body_response": "\n\n\n\n \n My API\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:56:36.052285"}, "223": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 449, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"My API\", \"description\": \"Test description\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}}, \"security\": [{\"Bearer\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:56:37.321457"}, "224": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 21, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:57:19.999229"}, "225": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 384, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}}, \"security\": [{\"Bearer\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 13:57:21.163717"}, "226": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 3, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:01:20.572022"}, "227": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 20, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:01:38.237715"}, "228": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 441, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}}, \"security\": [{\"Bearer\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:01:39.438902"}, "229": {"endpoint": "/swagger", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "\n\n\n \n Page not found at /swagger\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  8. \n \n
  9. \n \n \n \n \n core/\n \n \n
  10. \n \n
  11. \n \n search/\n \n \n
  12. \n \n
  13. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  14. \n \n
\n

\n \n The current path, swagger,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:02:12.005076"}, "230": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 47, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}}, \"security\": [{\"Bearer\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:02:12.361186"}, "231": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 19, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:04:38.843887"}, "232": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 406, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}, \"basic\": {\"type\": \"basic\"}}, \"security\": [{\"Bearer\": []}, {\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:04:40.406502"}, "233": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:04:56.208560"}, "234": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 19, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:05:06.439306"}, "235": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 448, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}, \"basic\": {\"type\": \"basic\"}}, \"security\": [{\"Bearer\": []}, {\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:05:07.541479"}, "236": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 18, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:05:19.999832"}, "237": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 455, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:05:21.165053"}, "238": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 3, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:11:33.121259"}, "239": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:11:35.891351"}, "240": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:11:53.049785"}, "241": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 18, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:03.824306"}, "242": {"endpoint": "/swagger/?format=openapi", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 443, "body_response": "\n\n\n \n \n AttributeError\n at /swagger/\n \n \n \n \n\n\n
\n

AttributeError\n at /swagger/

\n
'AnonymousUser' object has no attribute 'user_relation'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger/?format=openapi
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'AnonymousUser' object has no attribute 'user_relation'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions
Raised during:drf_yasg.views.SchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:42:04 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000295D55D5190>>
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x00000295D544B6A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000295D55D5190>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x00000295D544B6A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    view_func
    <function View.as_view.<locals>.view at 0x00000295D5429080>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'drf_yasg.views.get_schema_view.<locals>.SchemaView'>
    initkwargs
    {'renderer_classes': (<class 'drf_yasg.renderers.SwaggerUIRenderer'>,\n                      <class 'drf_yasg.renderers.ReDocRenderer'>,\n                      <class 'drf_yasg.renderers.SwaggerYAMLRenderer'>,\n                      <class 'drf_yasg.renderers.SwaggerJSONRenderer'>,\n                      <class 'drf_yasg.renderers.OpenAPIRenderer'>,\n                      <class 'drf_yasg.views.SwaggerYAMLRenderer'>,\n                      <class 'drf_yasg.views.SwaggerJSONRenderer'>)}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_schema_view.<locals>.SchemaView.get of <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger/?format=openapi'>,\n 'view': <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>}
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    exception_handler
    <function exception_handler at 0x00000295D51591C0>
    response
    None
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    renderer_format
    'openapi'
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_schema_view.<locals>.SchemaView.get of <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\views.py, line 112, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request, version='', format=None):
    2. \n \n
    3.             version = request.version or version or ''
    4. \n \n
    5.             if isinstance(request.accepted_renderer, _SpecRenderer):
    6. \n \n
    7.                 generator = self.generator_class(info, version, url, patterns, urlconf)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 generator = self.generator_class(info, version, url, patterns=[])
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request, self.public)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if schema is None:
    2. \n \n
    3.                 raise exceptions.PermissionDenied()  # pragma: no cover
    4. \n \n
    5.             return Response(schema)
    6. \n \n
    7. \n \n
    8.         @classmethod
    9. \n \n
    10.         def apply_cache(cls, view, cache_timeout, cache_kwargs):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    format
    None
    generator
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5856840>
    info
    Info([('title', 'RasadDam Api'),\n      ('description', 'All Apis'),\n      ('termsOfService', 'https://www.google.com/policies/terms/'),\n      ('contact', Contact({'email': 'contact@myapi.local'})),\n      ('license', License({'name': 'BSD License'})),\n      ('version', 'v1')])
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D55FD4F0>
    url
    None
    urlconf
    None
    version
    ''
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 276, in get_schema\n \n\n \n
    \n \n
      \n \n
    1.         :return: the generated Swagger specification
    2. \n \n
    3.         :rtype: openapi.Swagger
    4. \n \n
    5.         """
    6. \n \n
    7.         endpoints = self.get_endpoints(request)
    8. \n \n
    9.         components = self.reference_resolver_class(openapi.SCHEMA_DEFINITIONS, force_init=True)
    10. \n \n
    11.         self.consumes = get_consumes(api_settings.DEFAULT_PARSER_CLASSES)
    12. \n \n
    13.         self.produces = get_produces(api_settings.DEFAULT_RENDERER_CLASSES)
    14. \n \n
    \n \n
      \n
    1.         paths, prefix = self.get_paths(endpoints, components, request, public)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         security_definitions = self.get_security_definitions()
    3. \n \n
    4.         if security_definitions:
    5. \n \n
    6.             security_requirements = self.get_security_requirements(security_definitions)
    7. \n \n
    8.         else:
    9. \n \n
    10.             security_requirements = None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    components
    <drf_yasg.openapi.ReferenceResolver object at 0x00000295D5857020>
    endpoints
    {'/auth/api/v1/city/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                        [('GET',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D587CBC0>),\n                         ('POST',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8560>)]),\n '/auth/api/v1/city/{id}/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                             [('GET',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D587CB90>),\n                              ('PUT',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8950>),\n                              ('PATCH',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8CB0>),\n                              ('DELETE',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE9010>)]),\n '/auth/api/v1/login/': (<class 'apps.authentication.api.v1.api.CustomizedTokenObtainPairView'>,\n                         [('POST',\n                           <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x00000295D5AE8320>)]),\n '/auth/api/v1/organization-type/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D587CE00>),\n                                      ('POST',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8680>)]),\n '/auth/api/v1/organization-type/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                          [('GET',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D587CDA0>),\n                                           ('PUT',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8A70>),\n                                           ('PATCH',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8DD0>),\n                                           ('DELETE',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE9130>)]),\n '/auth/api/v1/organization/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                [('GET',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>),\n                                 ('POST',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8620>)]),\n '/auth/api/v1/organization/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD10>),\n                                      ('PUT',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8A10>),\n                                      ('PATCH',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8D70>),\n                                      ('DELETE',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE90D0>)]),\n '/auth/api/v1/permission/': (<class 'apps.authorization.api.v1.api.PermissionViewSet'>,\n                              [('GET',\n                                <apps.authorization.api.v1.api.PermissionViewSet object at 0x00000295D587CF20>),\n                               ('POST',\n                                <apps.autho\u2026 <trimmed 12405 bytes string>
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5856840>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 479, in get_paths\n \n\n \n
    \n \n
      \n \n
    1.         prefix = self.determine_path_prefix(list(endpoints.keys())) or ''
    2. \n \n
    3.         assert '{' not in prefix, "base path cannot be templated in swagger 2.0"
    4. \n \n
    5. \n \n
    6.         paths = OrderedDict()
    7. \n \n
    8.         for path, (view_cls, methods) in sorted(endpoints.items()):
    9. \n \n
    10.             operations = {}
    11. \n \n
    12.             for method, view in methods:
    13. \n \n
    \n \n
      \n
    1.                 if not self.should_include_endpoint(path, method, view, public):\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     continue
    2. \n \n
    3. \n \n
    4.                 operation = self.get_operation(view, path, prefix, method, components, request)
    5. \n \n
    6.                 if operation is not None:
    7. \n \n
    8.                     operations[method.lower()] = operation
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    components
    <drf_yasg.openapi.ReferenceResolver object at 0x00000295D5857020>
    endpoints
    {'/auth/api/v1/city/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                        [('GET',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D587CBC0>),\n                         ('POST',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8560>)]),\n '/auth/api/v1/city/{id}/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                             [('GET',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D587CB90>),\n                              ('PUT',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8950>),\n                              ('PATCH',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE8CB0>),\n                              ('DELETE',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5AE9010>)]),\n '/auth/api/v1/login/': (<class 'apps.authentication.api.v1.api.CustomizedTokenObtainPairView'>,\n                         [('POST',\n                           <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x00000295D5AE8320>)]),\n '/auth/api/v1/organization-type/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D587CE00>),\n                                      ('POST',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8680>)]),\n '/auth/api/v1/organization-type/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                          [('GET',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D587CDA0>),\n                                           ('PUT',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8A70>),\n                                           ('PATCH',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE8DD0>),\n                                           ('DELETE',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5AE9130>)]),\n '/auth/api/v1/organization/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                [('GET',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>),\n                                 ('POST',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8620>)]),\n '/auth/api/v1/organization/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD10>),\n                                      ('PUT',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8A10>),\n                                      ('PATCH',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8D70>),\n                                      ('DELETE',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE90D0>)]),\n '/auth/api/v1/permission/': (<class 'apps.authorization.api.v1.api.PermissionViewSet'>,\n                              [('GET',\n                                <apps.authorization.api.v1.api.PermissionViewSet object at 0x00000295D587CF20>),\n                               ('POST',\n                                <apps.autho\u2026 <trimmed 12405 bytes string>
    method
    'GET'
    methods
    [('GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>),\n ('POST',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5AE8620>)]
    operation
    Operation([('operationId', 'auth_api_v1_login_create'),\n           ('description', 'Generate Customize token'),\n           ('parameters',\n            [Parameter([('name', 'data'),\n                        ('in', 'body'),\n                        ('required', True),\n                        ('schema',\n                         SchemaRef([('$ref',\n                                     '#/definitions/CustomizedTokenObtainPair')]))])]),\n           ('responses',\n            Responses([('201',\n                        Response([('description', ''),\n                                  ('schema',\n                                   SchemaRef([('$ref',\n                                               '#/definitions/CustomizedTokenObtainPair')]))]))])),\n           ('tags', ['auth'])])
    operations
    {}
    path
    '/auth/api/v1/organization/'
    path_suffix
    '/auth/api/v1/login/'
    paths
    OrderedDict([('/auth/api/v1/login/',\n              PathItem([('post',\n                         Operation([('operationId', 'auth_api_v1_login_create'),\n                                    ('description', 'Generate Customize token'),\n                                    ('parameters',\n                                     [Parameter([('name', 'data'),\n                                                 ('in', 'body'),\n                                                 ('required', True),\n                                                 ('schema',\n                                                  SchemaRef([('$ref',\n                                                              '#/definitions/CustomizedTokenObtainPair')]))])]),\n                                    ('responses',\n                                     Responses([('201',\n                                                 Response([('description', ''),\n                                                           ('schema',\n                                                            SchemaRef([('$ref',\n                                                                        '#/definitions/CustomizedTokenObtainPair')]))]))])),\n                                    ('tags', ['auth'])])),\n                        ('parameters', [])]))])
    prefix
    '/'
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5856840>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    view_cls
    <class 'apps.authentication.api.v1.api.OrganizationViewSet'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 448, in should_include_endpoint\n \n\n \n
    \n \n
      \n \n
    1.         :param str path: request path
    2. \n \n
    3.         :param str method: http request method
    4. \n \n
    5.         :param view: instantiated view callback
    6. \n \n
    7.         :param bool public: if True, all endpoints are included regardless of access through `request`
    8. \n \n
    9.         :returns: true if the view should be excluded
    10. \n \n
    11.         :rtype: bool
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         return public or self._gen.has_view_permissions(path, method, view)\n                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paths_object(self, paths):
    3. \n \n
    4.         """Construct the Swagger Paths object.
    5. \n \n
    6. \n \n
    7.         :param OrderedDict[str,openapi.PathItem] paths: mapping of paths to :class:`.PathItem` objects
    8. \n \n
    9.         :returns: the :class:`.Paths` object
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/organization/'
    public
    False
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5856840>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\generators.py, line 236, in has_view_permissions\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Return `True` if the incoming request has the correct view permissions.
    4. \n \n
    5.         """
    6. \n \n
    7.         if view.request is None:
    8. \n \n
    9.             return True
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             view.check_permissions(view.request)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (exceptions.APIException, Http404, PermissionDenied):
    2. \n \n
    3.             return False
    4. \n \n
    5.         return True
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/organization/'
    self
    <rest_framework.schemas.openapi.SchemaGenerator object at 0x00000295D5855FA0>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 338, in check_permissions\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    12.         for permission in self.get_permissions():
    13. \n \n
    \n \n
      \n
    1.             if not permission.has_permission(request, self):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.permission_denied(
    2. \n \n
    3.                     request,
    4. \n \n
    5.                     message=getattr(permission, 'message', None),
    6. \n \n
    7.                     code=getattr(permission, 'code', None)
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    permission
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D587C590>
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 38, in has_permission\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. class CreateOrganization(permissions.BasePermission):
    3. \n \n
    4.     """
    5. \n \n
    6.     @permission for adding organization
    7. \n \n
    8.     """
    9. \n \n
    10. \n \n
    11.     def has_permission(self, request, view):
    12. \n \n
    \n \n
      \n
    1.         user_level_info = self.get_user_permissions(request, view)\n                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if 'superuser' in user_level_info['permissions']:
    2. \n \n
    3.             org_type = OrganizationType.objects.get(  # noqa
    4. \n \n
    5.                 id=request.data['organization']['type']
    6. \n \n
    7.             )
    8. \n \n
    9.             print(org_type.key)
    10. \n \n
    11.             if 'J' in user_level_info['organization_type']:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D587C590>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions\n \n\n \n
    \n \n
      \n \n
    1.     def get_user_permissions(self, request, view) -> typing.Dict:  # noqa
    2. \n \n
    3.         """
    4. \n \n
    5.         get permissions by role and user specified permissions
    6. \n \n
    7.         combined permissions and returns a list
    8. \n \n
    9.         """
    10. \n \n
    11.         organization_type = []
    12. \n \n
    13.         permissions_info = {}
    14. \n \n
    \n \n
      \n
    1.         relations = request.user.user_relation.select_related()\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for relation in relations:
    2. \n \n
    3.             role_permissions = list(itertools.chain(*[
    4. \n \n
    5.                     list(item.values()) for item in
    6. \n \n
    7.                     list(relation.role.permissions.prefetch_related().values('name'))
    8. \n \n
    9.                 ]
    10. \n \n
    11.             ))
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    organization_type
    []
    permissions_info
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D587C590>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D587CD40>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
format
'openapi'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
csrftoken
'********************'
\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
'3vjN9LFzZJe1qadGrDu5YDm6hi6UPDQ2'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'application/json,*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br, zstd'
HTTP_ACCEPT_LANGUAGE
'fa,en-US;q=0.9,en;q=0.8'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'********************'
HTTP_HOST
'127.0.0.1:8000'
HTTP_REFERER
'http://127.0.0.1:8000/swagger/'
HTTP_SEC_CH_UA
'"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'
HTTP_SEC_CH_UA_MOBILE
'?0'
HTTP_SEC_CH_UA_PLATFORM
'"Windows"'
HTTP_SEC_FETCH_DEST
'empty'
HTTP_SEC_FETCH_MODE
'cors'
HTTP_SEC_FETCH_SITE
'same-origin'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '\n 'Gecko) Chrome/136.0.0.0 Safari/537.36')
HTTP_X_CSRFTOKEN
'********************'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'format=openapi'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000295D5856770>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': False}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:05.042708"}, "243": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 2, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:12.677228"}, "244": {"endpoint": "/swagger/?format=openapi", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 69, "body_response": "\n\n\n \n \n AttributeError\n at /swagger/\n \n \n \n \n\n\n
\n

AttributeError\n at /swagger/

\n
'AnonymousUser' object has no attribute 'user_relation'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/swagger/?format=openapi
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'AnonymousUser' object has no attribute 'user_relation'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions
Raised during:drf_yasg.views.SchemaView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 10:42:13 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000295D55D5190>>
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x00000295D544B6A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000295D55D5190>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x00000295D544B6A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    view_func
    <function View.as_view.<locals>.view at 0x00000295D5429080>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'drf_yasg.views.get_schema_view.<locals>.SchemaView'>
    initkwargs
    {'renderer_classes': (<class 'drf_yasg.renderers.SwaggerUIRenderer'>,\n                      <class 'drf_yasg.renderers.ReDocRenderer'>,\n                      <class 'drf_yasg.renderers.SwaggerYAMLRenderer'>,\n                      <class 'drf_yasg.renderers.SwaggerJSONRenderer'>,\n                      <class 'drf_yasg.renderers.OpenAPIRenderer'>,\n                      <class 'drf_yasg.views.SwaggerYAMLRenderer'>,\n                      <class 'drf_yasg.views.SwaggerJSONRenderer'>)}
    kwargs
    {}
    request
    <WSGIRequest: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_schema_view.<locals>.SchemaView.get of <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/swagger/?format=openapi'>,\n 'view': <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>}
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    exception_handler
    <function exception_handler at 0x00000295D51591C0>
    response
    None
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'AnonymousUser' object has no attribute 'user_relation'")
    renderer_format
    'openapi'
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method get_schema_view.<locals>.SchemaView.get of <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\views.py, line 112, in get\n \n\n \n
    \n \n
      \n \n
    1.         def get(self, request, version='', format=None):
    2. \n \n
    3.             version = request.version or version or ''
    4. \n \n
    5.             if isinstance(request.accepted_renderer, _SpecRenderer):
    6. \n \n
    7.                 generator = self.generator_class(info, version, url, patterns, urlconf)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 generator = self.generator_class(info, version, url, patterns=[])
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             schema = generator.get_schema(request, self.public)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if schema is None:
    2. \n \n
    3.                 raise exceptions.PermissionDenied()  # pragma: no cover
    4. \n \n
    5.             return Response(schema)
    6. \n \n
    7. \n \n
    8.         @classmethod
    9. \n \n
    10.         def apply_cache(cls, view, cache_timeout, cache_kwargs):
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    format
    None
    generator
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5930800>
    info
    Info([('title', 'RasadDam Api'),\n      ('description', 'All Apis'),\n      ('termsOfService', 'https://www.google.com/policies/terms/'),\n      ('contact', Contact({'email': 'contact@myapi.local'})),\n      ('license', License({'name': 'BSD License'})),\n      ('version', 'v1')])
    patterns
    None
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.views.get_schema_view.<locals>.SchemaView object at 0x00000295D5932C30>
    url
    None
    urlconf
    None
    version
    ''
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 276, in get_schema\n \n\n \n
    \n \n
      \n \n
    1.         :return: the generated Swagger specification
    2. \n \n
    3.         :rtype: openapi.Swagger
    4. \n \n
    5.         """
    6. \n \n
    7.         endpoints = self.get_endpoints(request)
    8. \n \n
    9.         components = self.reference_resolver_class(openapi.SCHEMA_DEFINITIONS, force_init=True)
    10. \n \n
    11.         self.consumes = get_consumes(api_settings.DEFAULT_PARSER_CLASSES)
    12. \n \n
    13.         self.produces = get_produces(api_settings.DEFAULT_RENDERER_CLASSES)
    14. \n \n
    \n \n
      \n
    1.         paths, prefix = self.get_paths(endpoints, components, request, public)\n                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         security_definitions = self.get_security_definitions()
    3. \n \n
    4.         if security_definitions:
    5. \n \n
    6.             security_requirements = self.get_security_requirements(security_definitions)
    7. \n \n
    8.         else:
    9. \n \n
    10.             security_requirements = None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    components
    <drf_yasg.openapi.ReferenceResolver object at 0x00000295D5932660>
    endpoints
    {'/auth/api/v1/city/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                        [('GET',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5931460>),\n                         ('POST',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0F500>)]),\n '/auth/api/v1/city/{id}/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                             [('GET',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0D100>),\n                              ('PUT',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0C140>),\n                              ('PATCH',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0DB50>),\n                              ('DELETE',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0EED0>)]),\n '/auth/api/v1/login/': (<class 'apps.authentication.api.v1.api.CustomizedTokenObtainPairView'>,\n                         [('POST',\n                           <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x00000295D5B0C050>)]),\n '/auth/api/v1/organization-type/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0DA90>),\n                                      ('POST',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0C6B0>)]),\n '/auth/api/v1/organization-type/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                          [('GET',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0CFE0>),\n                                           ('PUT',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0F710>),\n                                           ('PATCH',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0D8B0>),\n                                           ('DELETE',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0D940>)]),\n '/auth/api/v1/organization/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                [('GET',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>),\n                                 ('POST',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0EAE0>)]),\n '/auth/api/v1/organization/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0D790>),\n                                      ('PUT',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E030>),\n                                      ('PATCH',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0C080>),\n                                      ('DELETE',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0F470>)]),\n '/auth/api/v1/permission/': (<class 'apps.authorization.api.v1.api.PermissionViewSet'>,\n                              [('GET',\n                                <apps.authorization.api.v1.api.PermissionViewSet object at 0x00000295D5930920>),\n                               ('POST',\n                                <apps.autho\u2026 <trimmed 12405 bytes string>
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5930800>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 479, in get_paths\n \n\n \n
    \n \n
      \n \n
    1.         prefix = self.determine_path_prefix(list(endpoints.keys())) or ''
    2. \n \n
    3.         assert '{' not in prefix, "base path cannot be templated in swagger 2.0"
    4. \n \n
    5. \n \n
    6.         paths = OrderedDict()
    7. \n \n
    8.         for path, (view_cls, methods) in sorted(endpoints.items()):
    9. \n \n
    10.             operations = {}
    11. \n \n
    12.             for method, view in methods:
    13. \n \n
    \n \n
      \n
    1.                 if not self.should_include_endpoint(path, method, view, public):\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                     continue
    2. \n \n
    3. \n \n
    4.                 operation = self.get_operation(view, path, prefix, method, components, request)
    5. \n \n
    6.                 if operation is not None:
    7. \n \n
    8.                     operations[method.lower()] = operation
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    components
    <drf_yasg.openapi.ReferenceResolver object at 0x00000295D5932660>
    endpoints
    {'/auth/api/v1/city/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                        [('GET',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5931460>),\n                         ('POST',\n                          <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0F500>)]),\n '/auth/api/v1/city/{id}/': (<class 'apps.authentication.api.v1.api.CityViewSet'>,\n                             [('GET',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0D100>),\n                              ('PUT',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0C140>),\n                              ('PATCH',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0DB50>),\n                              ('DELETE',\n                               <apps.authentication.api.v1.api.CityViewSet object at 0x00000295D5B0EED0>)]),\n '/auth/api/v1/login/': (<class 'apps.authentication.api.v1.api.CustomizedTokenObtainPairView'>,\n                         [('POST',\n                           <apps.authentication.api.v1.api.CustomizedTokenObtainPairView object at 0x00000295D5B0C050>)]),\n '/auth/api/v1/organization-type/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0DA90>),\n                                      ('POST',\n                                       <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0C6B0>)]),\n '/auth/api/v1/organization-type/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationTypeViewSet'>,\n                                          [('GET',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0CFE0>),\n                                           ('PUT',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0F710>),\n                                           ('PATCH',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0D8B0>),\n                                           ('DELETE',\n                                            <apps.authentication.api.v1.api.OrganizationTypeViewSet object at 0x00000295D5B0D940>)]),\n '/auth/api/v1/organization/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                [('GET',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>),\n                                 ('POST',\n                                  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0EAE0>)]),\n '/auth/api/v1/organization/{id}/': (<class 'apps.authentication.api.v1.api.OrganizationViewSet'>,\n                                     [('GET',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0D790>),\n                                      ('PUT',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E030>),\n                                      ('PATCH',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0C080>),\n                                      ('DELETE',\n                                       <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0F470>)]),\n '/auth/api/v1/permission/': (<class 'apps.authorization.api.v1.api.PermissionViewSet'>,\n                              [('GET',\n                                <apps.authorization.api.v1.api.PermissionViewSet object at 0x00000295D5930920>),\n                               ('POST',\n                                <apps.autho\u2026 <trimmed 12405 bytes string>
    method
    'GET'
    methods
    [('GET',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>),\n ('POST',\n  <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0EAE0>)]
    operation
    Operation([('operationId', 'auth_api_v1_login_create'),\n           ('description', 'Generate Customize token'),\n           ('parameters',\n            [Parameter([('name', 'data'),\n                        ('in', 'body'),\n                        ('required', True),\n                        ('schema',\n                         SchemaRef([('$ref',\n                                     '#/definitions/CustomizedTokenObtainPair')]))])]),\n           ('responses',\n            Responses([('201',\n                        Response([('description', ''),\n                                  ('schema',\n                                   SchemaRef([('$ref',\n                                               '#/definitions/CustomizedTokenObtainPair')]))]))])),\n           ('tags', ['auth'])])
    operations
    {}
    path
    '/auth/api/v1/organization/'
    path_suffix
    '/auth/api/v1/login/'
    paths
    OrderedDict([('/auth/api/v1/login/',\n              PathItem([('post',\n                         Operation([('operationId', 'auth_api_v1_login_create'),\n                                    ('description', 'Generate Customize token'),\n                                    ('parameters',\n                                     [Parameter([('name', 'data'),\n                                                 ('in', 'body'),\n                                                 ('required', True),\n                                                 ('schema',\n                                                  SchemaRef([('$ref',\n                                                              '#/definitions/CustomizedTokenObtainPair')]))])]),\n                                    ('responses',\n                                     Responses([('201',\n                                                 Response([('description', ''),\n                                                           ('schema',\n                                                            SchemaRef([('$ref',\n                                                                        '#/definitions/CustomizedTokenObtainPair')]))]))])),\n                                    ('tags', ['auth'])])),\n                        ('parameters', [])]))])
    prefix
    '/'
    public
    False
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5930800>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    view_cls
    <class 'apps.authentication.api.v1.api.OrganizationViewSet'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\drf_yasg\\generators.py, line 448, in should_include_endpoint\n \n\n \n
    \n \n
      \n \n
    1.         :param str path: request path
    2. \n \n
    3.         :param str method: http request method
    4. \n \n
    5.         :param view: instantiated view callback
    6. \n \n
    7.         :param bool public: if True, all endpoints are included regardless of access through `request`
    8. \n \n
    9.         :returns: true if the view should be excluded
    10. \n \n
    11.         :rtype: bool
    12. \n \n
    13.         """
    14. \n \n
    \n \n
      \n
    1.         return public or self._gen.has_view_permissions(path, method, view)\n                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paths_object(self, paths):
    3. \n \n
    4.         """Construct the Swagger Paths object.
    5. \n \n
    6. \n \n
    7.         :param OrderedDict[str,openapi.PathItem] paths: mapping of paths to :class:`.PathItem` objects
    8. \n \n
    9.         :returns: the :class:`.Paths` object
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/organization/'
    public
    False
    self
    <drf_yasg.generators.OpenAPISchemaGenerator object at 0x00000295D5930800>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\schemas\\generators.py, line 236, in has_view_permissions\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Return `True` if the incoming request has the correct view permissions.
    4. \n \n
    5.         """
    6. \n \n
    7.         if view.request is None:
    8. \n \n
    9.             return True
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             view.check_permissions(view.request)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except (exceptions.APIException, Http404, PermissionDenied):
    2. \n \n
    3.             return False
    4. \n \n
    5.         return True
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    method
    'GET'
    path
    '/auth/api/v1/organization/'
    self
    <rest_framework.schemas.openapi.SchemaGenerator object at 0x00000295D5930F80>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 338, in check_permissions\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    12.         for permission in self.get_permissions():
    13. \n \n
    \n \n
      \n
    1.             if not permission.has_permission(request, self):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.permission_denied(
    2. \n \n
    3.                     request,
    4. \n \n
    5.                     message=getattr(permission, 'message', None),
    6. \n \n
    7.                     code=getattr(permission, 'code', None)
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    permission
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D59315E0>
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 38, in has_permission\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. class CreateOrganization(permissions.BasePermission):
    3. \n \n
    4.     """
    5. \n \n
    6.     @permission for adding organization
    7. \n \n
    8.     """
    9. \n \n
    10. \n \n
    11.     def has_permission(self, request, view):
    12. \n \n
    \n \n
      \n
    1.         user_level_info = self.get_user_permissions(request, view)\n                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if 'superuser' in user_level_info['permissions']:
    2. \n \n
    3.             org_type = OrganizationType.objects.get(  # noqa
    4. \n \n
    5.                 id=request.data['organization']['type']
    6. \n \n
    7.             )
    8. \n \n
    9.             print(org_type.key)
    10. \n \n
    11.             if 'J' in user_level_info['organization_type']:
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D59315E0>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\permissions.py, line 19, in get_user_permissions\n \n\n \n
    \n \n
      \n \n
    1.     def get_user_permissions(self, request, view) -> typing.Dict:  # noqa
    2. \n \n
    3.         """
    4. \n \n
    5.         get permissions by role and user specified permissions
    6. \n \n
    7.         combined permissions and returns a list
    8. \n \n
    9.         """
    10. \n \n
    11.         organization_type = []
    12. \n \n
    13.         permissions_info = {}
    14. \n \n
    \n \n
      \n
    1.         relations = request.user.user_relation.select_related()\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for relation in relations:
    2. \n \n
    3.             role_permissions = list(itertools.chain(*[
    4. \n \n
    5.                     list(item.values()) for item in
    6. \n \n
    7.                     list(relation.role.permissions.prefetch_related().values('name'))
    8. \n \n
    9.                 ]
    10. \n \n
    11.             ))
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    organization_type
    []
    permissions_info
    {}
    request
    <rest_framework.request.Request: GET '/swagger/?format=openapi'>
    self
    <apps.authentication.permissions.CreateOrganization object at 0x00000295D59315E0>
    view
    <apps.authentication.api.v1.api.OrganizationViewSet object at 0x00000295D5B0E540>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
format
'openapi'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
csrftoken
'********************'
\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
'3vjN9LFzZJe1qadGrDu5YDm6hi6UPDQ2'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'application/json,*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br, zstd'
HTTP_ACCEPT_LANGUAGE
'fa,en-US;q=0.9,en;q=0.8'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'********************'
HTTP_HOST
'127.0.0.1:8000'
HTTP_REFERER
'http://127.0.0.1:8000/swagger/'
HTTP_SEC_CH_UA
'"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'
HTTP_SEC_CH_UA_MOBILE
'?0'
HTTP_SEC_CH_UA_PLATFORM
'"Windows"'
HTTP_SEC_FETCH_DEST
'empty'
HTTP_SEC_FETCH_MODE
'cors'
HTTP_SEC_FETCH_SITE
'same-origin'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '\n 'Gecko) Chrome/136.0.0.0 Safari/537.36')
HTTP_X_CSRFTOKEN
'********************'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/swagger/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'format=openapi'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000295D5B45750>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': False}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:13.456411"}, "245": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 20, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:27.424960"}, "246": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 427, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}, \"basic\": {\"type\": \"basic\"}}, \"security\": [{\"Bearer\": []}, {\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:28.543505"}, "247": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:55.334929"}, "248": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 51, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}, \"basic\": {\"type\": \"basic\"}}, \"security\": [{\"Bearer\": []}, {\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:12:56.138407"}, "249": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:17:28.571601"}, "250": {"endpoint": "/swagger/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 3, "body_response": "401 Unauthorized", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:17:45.136495"}, "251": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 20, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:20:50.750662"}, "252": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 392, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:20:52.049255"}, "253": {"endpoint": "/api-auth/login/?next=/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 53, "body_response": "\n\n\n\n\n\n \n \n\n \n \n \n \n\n Django REST framework\n\n \n \n \n \n \n\n \n \n \n \n\n \n \n\n \n\n
\n
\n
\n
\n
\n

Django REST framework

\n
\n
\n\n
\n
\n
\n \n \n\n
\n
\n \n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n \n\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:20:55.222375"}, "254": {"endpoint": "/api-auth/login/", "response_code": 302, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1968, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:02.718865"}, "255": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 388, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:51:01.660367+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:03.632250"}, "256": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 468, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:05.055279"}, "257": {"endpoint": "/accounts/logout/?next=/swagger/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 7, "body_response": "\n\n\n \n Page not found at /accounts/logout/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/logout/?next=/swagger/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n
  14. \n \n
  15. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  16. \n \n
\n

\n \n The current path, accounts/logout/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:09.771583"}, "258": {"endpoint": "/api-auth/login/?next=/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1, "body_response": "\n\n\n\n\n\n \n \n\n \n \n \n \n\n Django REST framework\n\n \n \n \n \n \n\n \n \n \n \n\n \n \n\n \n\n
\n
\n
\n
\n
\n

Django REST framework

\n
\n
\n\n
\n
\n
\n \n \n\n
\n
\n \n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n \n\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:17.240226"}, "259": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 372, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:51:01.660367+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:22.912710"}, "260": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 445, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:24.106899"}, "261": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 396, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:51:01.660367+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:43.680273"}, "262": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 717, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:45.174696"}, "263": {"endpoint": "/accounts/logout/?next=/swagger/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 7, "body_response": "\n\n\n \n Page not found at /accounts/logout/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/logout/?next=/swagger/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n
  14. \n \n
  15. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  16. \n \n
\n

\n \n The current path, accounts/logout/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:46.562850"}, "264": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 372, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:51:01.660367+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:21:59.805998"}, "265": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 509, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:01.047545"}, "266": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 330, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:51:01.660367+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:06.402850"}, "267": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 436, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"basic\": {\"type\": \"basic\"}}, \"security\": [{\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:07.626664"}, "268": {"endpoint": "/accounts/logout/?next=/swagger/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /accounts/logout/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/logout/?next=/swagger/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n
  14. \n \n
  15. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  16. \n \n
\n

\n \n The current path, accounts/logout/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:17.001200"}, "269": {"endpoint": "/favicon.ico", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /favicon.ico\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/favicon.ico
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n
  14. \n \n
  15. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  16. \n \n
\n

\n \n The current path, favicon.ico,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:17.767530"}, "270": {"endpoint": "/api-auth/logout/?next=/swagger/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:24.566545"}, "271": {"endpoint": "/api-auth/logout/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:29.771950"}, "272": {"endpoint": "/api-auth/logout/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:41.636826"}, "273": {"endpoint": "/api-auth/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /api-auth/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/api-auth/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n login/\n [name='login']\n \n
  4. \n \n
  5. \n \n api-auth/\n \n \n logout/\n [name='logout']\n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n auth/\n \n \n
  10. \n \n
  11. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  12. \n \n
  13. \n \n \n \n \n core/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n
  16. \n \n
  17. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  18. \n \n
\n

\n \n The current path, api-auth/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:46.472889"}, "274": {"endpoint": "/api-auth/logout", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /api-auth/logout\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/api-auth/logout
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n login/\n [name='login']\n \n
  4. \n \n
  5. \n \n api-auth/\n \n \n logout/\n [name='logout']\n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n auth/\n \n \n
  10. \n \n
  11. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  12. \n \n
  13. \n \n \n \n \n core/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n
  16. \n \n
  17. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  18. \n \n
\n

\n \n The current path, api-auth/logout,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:57.690028"}, "275": {"endpoint": "/api-auth/logout/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:22:58.087871"}, "276": {"endpoint": "/api-auth/login/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "\n\n\n\n\n\n \n \n\n \n \n \n \n\n Django REST framework\n\n \n \n \n \n \n\n \n \n \n \n\n \n \n\n \n\n
\n
\n
\n
\n
\n

Django REST framework

\n
\n
\n\n
\n
\n
\n \n \n\n
\n
\n \n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n \n\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:23:14.393586"}, "277": {"endpoint": "/api-auth/login/", "response_code": 302, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1882, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:23:19.573219"}, "278": {"endpoint": "/accounts/profile/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 11, "body_response": "\n\n\n \n Page not found at /accounts/profile/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/profile/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n
  14. \n \n
  15. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  16. \n \n
\n

\n \n The current path, accounts/profile/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:23:20.112961"}, "279": {"endpoint": "/api-auth/logout/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:23:39.596082"}, "280": {"endpoint": "/swagger/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 396, "body_response": "\n\n\n\n \n RasadDam Api\n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n \n \n\n\n\n\n\n \n\n\n
\n\n\n \n\n\n\n\n\n\n \n \n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n\n \n \n
\n Django housh -2025-05-18 10:53:18.477423+00:00\n
\n \n \n\n \n \n \n \n
\n\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:24:17.765088"}, "281": {"endpoint": "/swagger/?format=openapi", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 693, "body_response": "{\"swagger\": \"2.0\", \"info\": {\"title\": \"RasadDam Api\", \"description\": \"All Apis\", \"termsOfService\": \"https://www.google.com/policies/terms/\", \"contact\": {\"email\": \"contact@myapi.local\"}, \"license\": {\"name\": \"BSD License\"}, \"version\": \"v1\"}, \"host\": \"127.0.0.1:8000\", \"schemes\": [\"http\"], \"basePath\": \"/\", \"consumes\": [\"application/json\"], \"produces\": [\"application/json\"], \"securityDefinitions\": {\"Bearer\": {\"type\": \"apiKey\", \"name\": \"Authorization\", \"in\": \"header\"}, \"basic\": {\"type\": \"basic\"}}, \"security\": [{\"Bearer\": []}, {\"basic\": []}], \"paths\": {\"/auth/api/v1/city/\": {\"get\": {\"operationId\": \"auth_api_v1_city_list\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/City\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_city_create\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/city/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_city_read\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_city_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_city_partial_update\", \"description\": \"Crud operations for city model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/City\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/City\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_city_delete\", \"description\": \"Crud operations for city model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this city.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/login/\": {\"post\": {\"operationId\": \"auth_api_v1_login_create\", \"description\": \"Generate Customize token\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/CustomizedTokenObtainPair\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_list\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/OrganizationType\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization-type_create\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization-type/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization-type_read\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization-type_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization-type_partial_update\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/OrganizationType\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization-type_delete\", \"description\": \"Crud operations for Organization Type model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization type.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/organization/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_list\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Organization\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_organization_create\", \"description\": \"@create Organization by user\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/organization/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_organization_read\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_organization_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_organization_partial_update\", \"description\": \"Crud operations for organization model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Organization\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Organization\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_organization_delete\", \"description\": \"Crud operations for organization model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this organization.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/permission/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_list\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Permission\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_permission_create\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/permission/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_permission_read\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_permission_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_permission_partial_update\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Permission\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Permission\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_permission_delete\", \"description\": \"Crud Operations for Permissions\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this permissions.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/province/\": {\"get\": {\"operationId\": \"auth_api_v1_province_list\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Province\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_province_create\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/province/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_province_read\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_province_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_province_partial_update\", \"description\": \"Crud operations for province model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Province\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Province\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_province_delete\", \"description\": \"Crud operations for province model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this province.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/role/\": {\"get\": {\"operationId\": \"auth_api_v1_role_list\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/Role\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_role_create\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/role/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_role_read\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_role_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_role_partial_update\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/Role\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/Role\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_role_delete\", \"description\": \"Crud Operations For User Roles\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this role.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/token/refresh/\": {\"post\": {\"operationId\": \"auth_api_v1_token_refresh_create\", \"description\": \"Takes a refresh type JSON web token and returns an access type JSON web\\ntoken if the refresh token is valid.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenRefresh\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/revoke/\": {\"post\": {\"operationId\": \"auth_api_v1_token_revoke_create\", \"description\": \"Takes a token and blacklists it. Must be used with the\\n`rest_framework_simplejwt.token_blacklist` app installed.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenBlacklist\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/token/verify/\": {\"post\": {\"operationId\": \"auth_api_v1_token_verify_create\", \"description\": \"Takes a token and indicates if it is valid. This view provides no\\ninformation about a token's fitness for a particular use.\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/TokenVerify\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_list\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelation\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user-relations_create\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user-relations/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user-relations_read\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user-relations_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user-relations_partial_update\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelation\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user-relations_delete\", \"description\": \"Crud Operations for User Relations\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user relations.\", \"required\": true, \"type\": \"integer\"}]}, \"/auth/api/v1/user/\": {\"get\": {\"operationId\": \"auth_api_v1_user_list\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/User\"}}}}}}, \"tags\": [\"auth\"]}, \"post\": {\"operationId\": \"auth_api_v1_user_create\", \"description\": \"Customizing create user & bank account information with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"parameters\": []}, \"/auth/api/v1/user/{id}/\": {\"get\": {\"operationId\": \"auth_api_v1_user_read\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"put\": {\"operationId\": \"auth_api_v1_user_update\", \"description\": \"Customizing update user & bank account info with\\npermission levels\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"patch\": {\"operationId\": \"auth_api_v1_user_partial_update\", \"description\": \"Crud operations for user model\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/User\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/User\"}}}, \"tags\": [\"auth\"]}, \"delete\": {\"operationId\": \"auth_api_v1_user_delete\", \"description\": \"Crud operations for user model\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"auth\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this user.\", \"required\": true, \"type\": \"integer\"}]}, \"/captcha/\": {\"post\": {\"operationId\": \"captcha_create\", \"description\": \"overriding RestCaptchaView to generate captcha image\", \"parameters\": [], \"responses\": {\"201\": {\"description\": \"\"}}, \"tags\": [\"captcha\"]}, \"parameters\": []}, \"/core/mobile_test/\": {\"get\": {\"operationId\": \"core_mobile_test_list\", \"description\": \"\", \"parameters\": [{\"name\": \"limit\", \"in\": \"query\", \"description\": \"Number of results to return per page.\", \"required\": false, \"type\": \"integer\"}, {\"name\": \"offset\", \"in\": \"query\", \"description\": \"The initial index from which to return the results.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/MobileTest\"}}}}}}, \"tags\": [\"core\"]}, \"post\": {\"operationId\": \"core_mobile_test_create\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"201\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"parameters\": []}, \"/core/mobile_test/{id}/\": {\"get\": {\"operationId\": \"core_mobile_test_read\", \"description\": \"\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"put\": {\"operationId\": \"core_mobile_test_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"patch\": {\"operationId\": \"core_mobile_test_partial_update\", \"description\": \"\", \"parameters\": [{\"name\": \"data\", \"in\": \"body\", \"required\": true, \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/MobileTest\"}}}, \"tags\": [\"core\"]}, \"delete\": {\"operationId\": \"core_mobile_test_delete\", \"description\": \"\", \"parameters\": [], \"responses\": {\"204\": {\"description\": \"\"}}, \"tags\": [\"core\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"description\": \"A unique integer value identifying this mobile test.\", \"required\": true, \"type\": \"integer\"}]}, \"/search/api/v1/user_relation_search/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_list\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/functional_suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_functional_suggest\", \"summary\": \"Functional suggest functionality.\", \"description\": \":param request:\\n:return:\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/suggest/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_suggest\", \"description\": \"Suggest functionality.\", \"parameters\": [{\"name\": \"page\", \"in\": \"query\", \"description\": \"A page number within the paginated result set.\", \"required\": false, \"type\": \"integer\"}], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"required\": [\"count\", \"results\"], \"type\": \"object\", \"properties\": {\"count\": {\"type\": \"integer\"}, \"next\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"previous\": {\"type\": \"string\", \"format\": \"uri\", \"x-nullable\": true}, \"results\": {\"type\": \"array\", \"items\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}}}}, \"tags\": [\"search\"]}, \"parameters\": []}, \"/search/api/v1/user_relation_search/{id}/\": {\"get\": {\"operationId\": \"search_api_v1_user_relation_search_read\", \"description\": \"Search in Users Document ViewSet\", \"parameters\": [], \"responses\": {\"200\": {\"description\": \"\", \"schema\": {\"$ref\": \"#/definitions/UserRelationDocument\"}}}, \"tags\": [\"search\"]}, \"parameters\": [{\"name\": \"id\", \"in\": \"path\", \"required\": true, \"type\": \"string\"}]}}, \"definitions\": {\"City\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"CustomizedTokenObtainPair\": {\"required\": [\"username\", \"password\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"type\": \"string\", \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"minLength\": 1}}}, \"OrganizationType\": {\"required\": [\"key\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"key\": {\"title\": \"Key\", \"type\": \"string\", \"enum\": [\"J\", \"U\", \"CO\", \"CMP\"]}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}}}, \"Organization\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"parent_organization\": {\"title\": \"Parent organization\", \"type\": \"integer\", \"x-nullable\": true}, \"national_unique_id\": {\"title\": \"National unique id\", \"type\": \"string\", \"maxLength\": 30, \"minLength\": 1}}}, \"Permission\": {\"required\": [\"name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}}}, \"Province\": {\"required\": [\"name\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"name\": {\"title\": \"Name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}}}, \"Role\": {\"required\": [\"role_name\", \"description\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"role_name\": {\"title\": \"Role name\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1}, \"description\": {\"title\": \"Description\", \"type\": \"string\", \"maxLength\": 500, \"minLength\": 1}, \"type\": {\"title\": \"Type\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"TokenRefresh\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}, \"access\": {\"title\": \"Access\", \"type\": \"string\", \"readOnly\": true, \"minLength\": 1}}}, \"TokenBlacklist\": {\"required\": [\"refresh\"], \"type\": \"object\", \"properties\": {\"refresh\": {\"title\": \"Refresh\", \"type\": \"string\", \"minLength\": 1}}}, \"TokenVerify\": {\"required\": [\"token\"], \"type\": \"object\", \"properties\": {\"token\": {\"title\": \"Token\", \"type\": \"string\", \"minLength\": 1}}}, \"UserRelation\": {\"required\": [\"organization\", \"permissions\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"user\": {\"title\": \"User\", \"type\": \"integer\", \"x-nullable\": true}, \"organization\": {\"title\": \"Organization\", \"type\": \"integer\"}, \"role\": {\"title\": \"Role\", \"type\": \"integer\", \"x-nullable\": true}, \"permissions\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"}, \"uniqueItems\": true}}}, \"User\": {\"required\": [\"username\", \"password\", \"mobile\", \"national_code\"], \"type\": \"object\", \"properties\": {\"username\": {\"title\": \"Username\", \"description\": \"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.\", \"type\": \"string\", \"pattern\": \"^[\\\\w.@+-]+$\", \"maxLength\": 150, \"minLength\": 1}, \"password\": {\"title\": \"Password\", \"type\": \"string\", \"maxLength\": 128, \"minLength\": 1}, \"first_name\": {\"title\": \"First name\", \"type\": \"string\", \"maxLength\": 150}, \"last_name\": {\"title\": \"Last name\", \"type\": \"string\", \"maxLength\": 150}, \"is_active\": {\"title\": \"Active\", \"description\": \"Designates whether this user should be treated as active. Unselect this instead of deleting accounts.\", \"type\": \"boolean\"}, \"mobile\": {\"title\": \"Mobile\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1}, \"phone\": {\"title\": \"Phone\", \"type\": \"string\", \"maxLength\": 18, \"minLength\": 1, \"x-nullable\": true}, \"national_code\": {\"title\": \"National code\", \"type\": \"string\", \"maxLength\": 16, \"minLength\": 1}, \"birthdate\": {\"title\": \"Birthdate\", \"type\": \"string\", \"format\": \"date-time\", \"x-nullable\": true}, \"nationality\": {\"title\": \"Nationality\", \"type\": \"string\", \"maxLength\": 20, \"minLength\": 1, \"x-nullable\": true}, \"ownership\": {\"title\": \"Ownership\", \"description\": \"N is natural & L is legal\", \"type\": \"string\", \"enum\": [\"N\", \"L\"]}, \"address\": {\"title\": \"Address\", \"type\": \"string\", \"maxLength\": 1000, \"minLength\": 1, \"x-nullable\": true}, \"photo\": {\"title\": \"Photo\", \"type\": \"string\", \"maxLength\": 50, \"minLength\": 1, \"x-nullable\": true}, \"province\": {\"title\": \"Province\", \"type\": \"integer\", \"x-nullable\": true}, \"city\": {\"title\": \"City\", \"type\": \"integer\", \"x-nullable\": true}, \"otp_status\": {\"title\": \"Otp status\", \"type\": \"boolean\"}}}, \"MobileTest\": {\"required\": [\"latitude\", \"longitude\"], \"type\": \"object\", \"properties\": {\"id\": {\"title\": \"ID\", \"type\": \"integer\", \"readOnly\": true}, \"create_date\": {\"title\": \"Create date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"modify_date\": {\"title\": \"Modify date\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"creator_info\": {\"title\": \"Creator info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"modifier_info\": {\"title\": \"Modifier info\", \"type\": \"string\", \"maxLength\": 100, \"minLength\": 1, \"x-nullable\": true}, \"trash\": {\"title\": \"Trash\", \"type\": \"boolean\"}, \"latitude\": {\"title\": \"Latitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"longitude\": {\"title\": \"Longitude\", \"type\": \"string\", \"format\": \"decimal\"}, \"count\": {\"title\": \"Count\", \"type\": \"integer\", \"maximum\": 2147483647, \"minimum\": -2147483648}, \"time\": {\"title\": \"Time\", \"type\": \"string\", \"format\": \"date-time\", \"readOnly\": true}, \"created_by\": {\"title\": \"Created by\", \"type\": \"integer\", \"x-nullable\": true}, \"modified_by\": {\"title\": \"Modified by\", \"type\": \"integer\", \"x-nullable\": true}}}, \"UserRelationDocument\": {\"required\": [\"user\", \"organization\", \"role\"], \"type\": \"object\", \"properties\": {\"user\": {\"title\": \"User\", \"type\": \"string\"}, \"organization\": {\"title\": \"Organization\", \"type\": \"string\"}, \"role\": {\"title\": \"Role\", \"type\": \"string\"}}}}}", "client_ip": "127.0.0.1", "browser_info": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "log_created_at": "2025-05-18 14:24:19.861596"}, "282": {"endpoint": "/search/api/v1/user_relation_search/?organization_type_key=J", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 973, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:31:04.599432"}, "283": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 460, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:31:22.970010"}, "284": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657&search=", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 419, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:31:46.474509"}, "285": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 423, "body_response": "{\"count\":13,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:31:50.263443"}, "286": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 422, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:31:55.856216"}, "287": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598&sezrch", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 398, "body_response": "{\"count\":14,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:32:17.354660"}, "288": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598&search=U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 439, "body_response": "{\"count\":15,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:32:38.221475"}, "289": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 387, "body_response": "{\"count\":15,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:33:38.677256"}, "290": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 492, "body_response": "{\"count\":15,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:36:37.710311"}, "291": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 418, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:37:09.282485"}, "292": {"endpoint": "/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 762, "body_response": "\n\n\n \n \n AttributeError\n at /search/api/v1/user_relation_search/suggest/\n \n \n \n \n\n\n
\n

AttributeError\n at /search/api/v1/user_relation_search/suggest/

\n
'SearchUsersDocumentViewSet' object has no attribute 'suggester_fields'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'SearchUsersDocumentViewSet' object has no attribute 'suggester_fields'
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\suggester\\native.py, line 166, in prepare_suggester_fields
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 11:11:57 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'suggester_fields'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001A0F0746FC0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001A0F05FCD60>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001A0F0746FC0>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001A0F05FCD60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    view_func
    <function SearchUsersDocumentViewSet at 0x000001A0F05FCCC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'suggest'
    actions
    {'get': 'suggest', 'head': 'suggest'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>>
    initkwargs
    {'basename': 'user_relation_search',\n 'description': 'Suggest functionality.',\n 'detail': False,\n 'name': 'Suggest'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>}
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'suggester_fields'")
    exception_handler
    <function exception_handler at 0x000001A0F0249940>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'SearchUsersDocumentViewSet' object has no attribute 'suggester_fields'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\viewsets.py, line 45, in suggest\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. class SuggestMixin(object):
    3. \n \n
    4.     """Suggest mixin."""
    5. \n \n
    6. \n \n
    7.     @action(detail=False)
    8. \n \n
    9.     def suggest(self, request):
    10. \n \n
    11.         """Suggest functionality."""
    12. \n \n
    \n \n
      \n
    1.         queryset = self.filter_queryset(self.get_queryset())\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         is_suggest = getattr(queryset, '_suggest', False)
    2. \n \n
    3.         if not is_suggest:
    4. \n \n
    5.             return Response(
    6. \n \n
    7.                 status=status.HTTP_400_BAD_REQUEST
    8. \n \n
    9.             )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 154, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         You are unlikely to want to override this method, although you may need
    3. \n \n
    4.         to call it either from a list view, or from a custom `get_object`
    5. \n \n
    6.         method if you want to apply the configured filtering backend to the
    7. \n \n
    8.         default queryset.
    9. \n \n
    10.         """
    11. \n \n
    12.         for backend in list(self.filter_backends):
    13. \n \n
    \n \n
      \n
    1.             queryset = backend().filter_queryset(self.request, queryset, self)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return queryset
    2. \n \n
    3. \n \n
    4.     @property
    5. \n \n
    6.     def paginator(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         The paginator instance associated with the view, or `None`.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    backend
    <class 'django_elasticsearch_dsl_drf.filter_backends.suggester.native.SuggesterFilterBackend'>
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001A0F0C438C0>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\suggester\\native.py, line 557, in filter_queryset\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         # The ``SuggesterFilterBackend`` filter backend shall be used in
    4. \n \n
    5.         # the ``suggest`` custom view action/route only. Usages outside of the
    6. \n \n
    7.         # are ``suggest`` action/route are restricted.
    8. \n \n
    9.         if view.action != 'suggest':
    10. \n \n
    11.             return queryset
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         suggester_query_params = self.get_suggester_query_params(request, view)\n                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for suggester_name, options in suggester_query_params.items():
    2. \n \n
    3.             # We don't have multiple values here.
    4. \n \n
    5.             for value in options['values']:
    6. \n \n
    7.                 # `term` suggester
    8. \n \n
    9.                 if options['suggester'] == SUGGESTER_TERM:
    10. \n \n
    11.                     queryset = self.apply_suggester_term(suggester_name,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001A0F0C438C0>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.suggester.native.SuggesterFilterBackend object at 0x000001A0F0C43590>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\suggester\\native.py, line 459, in get_suggester_query_params\n \n\n \n
    \n \n
      \n \n
    1.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    2. \n \n
    3.         :return: Request query params to filter on.
    4. \n \n
    5.         :rtype: dict
    6. \n \n
    7.         """
    8. \n \n
    9.         query_params = request.query_params.copy()
    10. \n \n
    11. \n \n
    12.         suggester_query_params = {}
    13. \n \n
    \n \n
      \n
    1.         suggester_fields = self.prepare_suggester_fields(view)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         for query_param in query_params:
    2. \n \n
    3.             query_param_list = self.split_lookup_filter(
    4. \n \n
    5.                 query_param,
    6. \n \n
    7.                 maxsplit=1
    8. \n \n
    9.             )
    10. \n \n
    11.             field_name = query_param_list[0]
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    query_params
    <QueryDict: {'search': ['09389657326', '4061080598', 'U', 'modjs5ssq1']}>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?search=09389657326&search=4061080598&search=U&search=modjs5ssq1'>
    self
    <django_elasticsearch_dsl_drf.filter_backends.suggester.native.SuggesterFilterBackend object at 0x000001A0F0C43590>
    suggester_query_params
    {}
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\filter_backends\\suggester\\native.py, line 166, in prepare_suggester_fields\n \n\n \n
    \n \n
      \n \n
    1.         """Prepare filter fields.
    2. \n \n
    3. \n \n
    4.         :param view:
    5. \n \n
    6.         :type view: rest_framework.viewsets.ReadOnlyModelViewSet
    7. \n \n
    8.         :return: Filtering options.
    9. \n \n
    10.         :rtype: dict
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         filter_fields = view.suggester_fields\n                             ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         for field, options in filter_fields.items():
    3. \n \n
    4.             if options is None or isinstance(options, string_types):
    5. \n \n
    6.                 filter_fields[field] = {
    7. \n \n
    8.                     'field': options or field
    9. \n \n
    10.                 }
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'django_elasticsearch_dsl_drf.filter_backends.suggester.native.SuggesterFilterBackend'>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001A0F06F78F0>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
search
'modjs5ssq1'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/suggest/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'search=09389657326&search=4061080598&search=U&search=modjs5ssq1'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001A0F0A3E3B0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:41:57.629995"}, "293": {"endpoint": "/search/api/v1/user_relation_search/8/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 546, "body_response": "{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:46:55.477670"}, "294": {"endpoint": "/search/api/v1/user_relation_search/9/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 447, "body_response": "{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:47:03.142182"}, "295": {"endpoint": "/search/api/v1/user_relation_search/10/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 429, "body_response": "{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:47:10.758250"}, "296": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 468, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:47:35.693817"}, "297": {"endpoint": "/search/api/v1/user_elastic/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 9, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic\n [name='search_user']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:53:15.521089"}, "298": {"endpoint": "/search/api/v1/user_elastic", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 26, "body_response": "\n\n\n \n \n TypeError\n at /search/api/v1/user_elastic\n \n \n \n \n\n\n
\n

TypeError\n at /search/api/v1/user_elastic

\n
APIView.as_view() takes 1 positional argument but 2 were given
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic
Django Version:5.0
Exception Type:TypeError
Exception Value:
APIView.as_view() takes 1 positional argument but 2 were given
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response
Raised during:rest_framework.views.as_view
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 11:23:41 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError('APIView.as_view() takes 1 positional argument but 2 were given')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000205237057C0>>
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <bound method APIView.as_view of <class 'apps.search.api.v1.api.UserElasticSearchApiView'>>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000205237057C0>
    wrapped_callback
    <bound method APIView.as_view of <class 'apps.search.api.v1.api.UserElasticSearchApiView'>>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_elastic'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000020523752350>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:53:42.298080"}, "299": {"endpoint": "/search/api/v1/user_elastic", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 320, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:53:54.246707"}, "300": {"endpoint": "/search/api/v1/user_elastic/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic\n [name='search_user']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:54:12.654063"}, "301": {"endpoint": "/search/api/v1/user_elastic/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 320, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:54:26.250431"}, "302": {"endpoint": "/search/api/v1/user_elastic/?user", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/?user
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>\n [name='search_user']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:54:46.627750"}, "303": {"endpoint": "/search/api/v1/user_elastic/?user", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 15, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/?user
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>\n [name='lll']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:55:20.455394"}, "304": {"endpoint": "/search/api/v1/user_elastic/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>\n [name='lll']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:55:25.193079"}, "305": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 292, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:55:36.654118"}, "306": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 311, "body_response": "{\"detail\":\"Method \\\"POST\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:56:47.673481"}, "307": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 337, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:56:51.818561"}, "308": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 915, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 14:56:59.531050"}, "309": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 55408, "body_response": "\n\n\n \n \n OperationalError\n at /search/api/v1/user_elastic/moji\n \n \n \n \n\n\n
\n

OperationalError\n at /search/api/v1/user_elastic/moji

\n
could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
Django Version:5.0
Exception Type:OperationalError
Exception Value:
could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
Exception Location:D:\\Software\\env\\Lib\\site-packages\\psycopg2\\__init__.py, line 122, in connect
Raised during:apps.search.api.v1.api.UserElasticSearchApiView
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 11:34:05 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 275, in ensure_connection\n \n\n \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3. \n \n
    4.     @async_unsafe
    5. \n \n
    6.     def ensure_connection(self):
    7. \n \n
    8.         """Guarantee that a connection to the database is established."""
    9. \n \n
    10.         if self.connection is None:
    11. \n \n
    12.             with self.wrap_database_errors:
    13. \n \n
    \n \n
      \n
    1.                 self.connect()\n                     ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # ##### Backend-specific wrappers for PEP-249 connection methods #####
    3. \n \n
    4. \n \n
    5.     def _prepare_cursor(self, cursor):
    6. \n \n
    7.         """
    8. \n \n
    9.         Validate the connection is usable and perform database cursor wrapping.
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,)
    func
    <function BaseDatabaseWrapper.connect at 0x000001FD775196C0>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 256, in connect\n \n\n \n
    \n \n
      \n \n
    1.         self.close_at = None if max_age is None else time.monotonic() + max_age
    2. \n \n
    3.         self.closed_in_transaction = False
    4. \n \n
    5.         self.errors_occurred = False
    6. \n \n
    7.         # New connections are healthy.
    8. \n \n
    9.         self.health_check_done = True
    10. \n \n
    11.         # Establish the connection
    12. \n \n
    13.         conn_params = self.get_connection_params()
    14. \n \n
    \n \n
      \n
    1.         self.connection = self.get_new_connection(conn_params)\n                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         self.set_autocommit(self.settings_dict["AUTOCOMMIT"])
    2. \n \n
    3.         self.init_connection_state()
    4. \n \n
    5.         connection_created.send(sender=self.__class__, connection=self)
    6. \n \n
    7. \n \n
    8.         self.run_on_commit = []
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    conn_params
    {'client_encoding': 'UTF8',\n 'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    max_age
    0
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,\n {'client_encoding': 'UTF8',\n  'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n  'dbname': 'postgres',\n  'host': 'monte-rosa.liara.cloud',\n  'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n  'port': '32718',\n  'user': 'root'})
    func
    <function DatabaseWrapper.get_new_connection at 0x000001FD77610400>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\postgresql\\base.py, line 275, in get_new_connection\n \n\n \n
    \n \n
      \n \n
    1.                 self.isolation_level = IsolationLevel(isolation_level_value)
    2. \n \n
    3.                 set_isolation_level = True
    4. \n \n
    5.             except ValueError:
    6. \n \n
    7.                 raise ImproperlyConfigured(
    8. \n \n
    9.                     f"Invalid transaction isolation level {isolation_level_value} "
    10. \n \n
    11.                     f"specified. Use one of the psycopg.IsolationLevel values."
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.         connection = self.Database.connect(**conn_params)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if set_isolation_level:
    2. \n \n
    3.             connection.isolation_level = self.isolation_level
    4. \n \n
    5.         if not is_psycopg3:
    6. \n \n
    7.             # Register dummy loads() to avoid a round trip from psycopg2's
    8. \n \n
    9.             # decode to json.dumps() to json.loads(), when using a custom
    10. \n \n
    11.             # decoder in JSONField.
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    conn_params
    {'client_encoding': 'UTF8',\n 'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    options
    {}
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    set_isolation_level
    False
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\psycopg2\\__init__.py, line 122, in connect\n \n\n \n
    \n \n
      \n \n
    1.     kwasync = {}
    2. \n \n
    3.     if 'async' in kwargs:
    4. \n \n
    5.         kwasync['async'] = kwargs.pop('async')
    6. \n \n
    7.     if 'async_' in kwargs:
    8. \n \n
    9.         kwasync['async_'] = kwargs.pop('async_')
    10. \n \n
    11. \n \n
    12.     dsn = _ext.make_dsn(dsn, **kwargs)
    13. \n \n
    \n \n
      \n
    1.     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     if cursor_factory is not None:
    2. \n \n
    3.         conn.cursor_factory = cursor_factory
    4. \n \n
    5. \n \n
    6.     return conn
    7. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    connection_factory
    None
    cursor_factory
    <class 'psycopg2.extensions.cursor'>
    dsn
    ('dbname=postgres client_encoding=UTF8 user=root '\n 'password=aFC3hqbxxR0SeBPZ6TCZ37my host=monte-rosa.liara.cloud port=32718')
    kwargs
    {'client_encoding': 'UTF8',\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    kwasync
    {}
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    OperationalError('could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \\n')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001FD78AFD250>>
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic/moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function View.as_view.<locals>.view at 0x000001FD789DD260>
    callback_args
    ()
    callback_kwargs
    {'query': 'moji'}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic/moji'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001FD78AFD250>
    wrapped_callback
    <function View.as_view.<locals>.view at 0x000001FD789DD260>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'query': 'moji'}
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic/moji'>
    view_func
    <function View.as_view.<locals>.view at 0x000001FD789DD1C0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\generic\\base.py, line 104, in view\n \n\n \n
    \n \n
      \n \n
    1.             self = cls(**initkwargs)
    2. \n \n
    3.             self.setup(request, *args, **kwargs)
    4. \n \n
    5.             if not hasattr(self, "request"):
    6. \n \n
    7.                 raise AttributeError(
    8. \n \n
    9.                     "%s instance has no 'request' attribute. Did you override "
    10. \n \n
    11.                     "setup() and forget to call super()?" % cls.__name__
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         view.view_class = cls
    3. \n \n
    4.         view.view_initkwargs = initkwargs
    5. \n \n
    6. \n \n
    7.         # __name__ and __qualname__ are intentionally left unchanged as
    8. \n \n
    9.         # view_class should be used to robustly determine the name of the view
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    cls
    <class 'apps.search.api.v1.api.UserElasticSearchApiView'>
    initkwargs
    {}
    kwargs
    {'query': 'moji'}
    request
    <WSGIRequest: GET '/search/api/v1/user_elastic/moji'>
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'query': 'moji'}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {'query': 'moji'},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>,\n 'view': <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>}
    exc
    OperationalError('could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \\n')
    exception_handler
    <function exception_handler at 0x000001FD78625080>
    response
    None
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    OperationalError('could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \\n')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 503, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.         self.args = args
    2. \n \n
    3.         self.kwargs = kwargs
    4. \n \n
    5.         request = self.initialize_request(request, *args, **kwargs)
    6. \n \n
    7.         self.request = request
    8. \n \n
    9.         self.headers = self.default_response_headers  # deprecate?
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             self.initial(request, *args, **kwargs)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             # Get the appropriate handler method
    3. \n \n
    4.             if request.method.lower() in self.http_method_names:
    5. \n \n
    6.                 handler = getattr(self, request.method.lower(),
    7. \n \n
    8.                                   self.http_method_not_allowed)
    9. \n \n
    10.             else:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'query': 'moji'}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 420, in initial\n \n\n \n
    \n \n
      \n \n
    1.         request.accepted_renderer, request.accepted_media_type = neg
    2. \n \n
    3. \n \n
    4.         # Determine the API version, if versioning is in use.
    5. \n \n
    6.         version, scheme = self.determine_version(request, *args, **kwargs)
    7. \n \n
    8.         request.version, request.versioning_scheme = version, scheme
    9. \n \n
    10. \n \n
    11.         # Ensure that the incoming request is permitted
    12. \n \n
    \n \n
      \n
    1.         self.perform_authentication(request)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         self.check_permissions(request)
    2. \n \n
    3.         self.check_throttles(request)
    4. \n \n
    5. \n \n
    6.     def finalize_response(self, request, response, *args, **kwargs):
    7. \n \n
    8.         """
    9. \n \n
    10.         Returns the final response object.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'query': 'moji'}
    neg
    (<rest_framework.renderers.JSONRenderer object at 0x000001FD78EB9430>,\n 'application/json')
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    scheme
    None
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    version
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 330, in perform_authentication\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         Perform authentication on the incoming request.
    4. \n \n
    5. \n \n
    6.         Note that if you override this and simply 'pass', then authentication
    7. \n \n
    8.         will instead be performed lazily, the first time either
    9. \n \n
    10.         `request.user` or `request.auth` is accessed.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         request.user\n             ^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    self
    <apps.search.api.v1.api.UserElasticSearchApiView object at 0x000001FD78EBBC80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\request.py, line 232, in user\n \n\n \n
    \n \n
      \n \n
    1.     def user(self):
    2. \n \n
    3.         """
    4. \n \n
    5.         Returns the user associated with the current request, as authenticated
    6. \n \n
    7.         by the authentication classes provided to the request.
    8. \n \n
    9.         """
    10. \n \n
    11.         if not hasattr(self, '_user'):
    12. \n \n
    13.             with wrap_attributeerrors():
    14. \n \n
    \n \n
      \n
    1.                 self._authenticate()\n                     ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return self._user
    2. \n \n
    3. \n \n
    4.     @user.setter
    5. \n \n
    6.     def user(self, value):
    7. \n \n
    8.         """
    9. \n \n
    10.         Sets the user on the current request. This is necessary to maintain
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\request.py, line 385, in _authenticate\n \n\n \n
    \n \n
      \n \n
    1.     def _authenticate(self):
    2. \n \n
    3.         """
    4. \n \n
    5.         Attempt to authenticate the request using each authentication instance
    6. \n \n
    7.         in turn.
    8. \n \n
    9.         """
    10. \n \n
    11.         for authenticator in self.authenticators:
    12. \n \n
    13.             try:
    14. \n \n
    \n \n
      \n
    1.                 user_auth_tuple = authenticator.authenticate(self)\n                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except exceptions.APIException:
    2. \n \n
    3.                 self._not_authenticated()
    4. \n \n
    5.                 raise
    6. \n \n
    7. \n \n
    8.             if user_auth_tuple is not None:
    9. \n \n
    10.                 self._authenticator = authenticator
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    authenticator
    <rest_framework_simplejwt.authentication.JWTAuthentication object at 0x000001FD78EBBCB0>
    self
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_simplejwt\\authentication.py, line 51, in authenticate\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         raw_token = self.get_raw_token(header)
    3. \n \n
    4.         if raw_token is None:
    5. \n \n
    6.             return None
    7. \n \n
    8. \n \n
    9.         validated_token = self.get_validated_token(raw_token)
    10. \n \n
    11. \n \n
    \n \n
      \n
    1.         return self.get_user(validated_token), validated_token\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def authenticate_header(self, request: Request) -> str:
    3. \n \n
    4.         return '{} realm="{}"'.format(
    5. \n \n
    6.             AUTH_HEADER_TYPES[0],
    7. \n \n
    8.             self.www_authenticate_realm,
    9. \n \n
    10.         )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    header
    (b'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwi'\n b'ZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4'\n b'MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4'\n b'OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq'\n b'7sVkRukl6HEq4x8')
    raw_token
    (b'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjo'\n b'xNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTM'\n b'xM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyI'\n b'sIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRuk'\n b'l6HEq4x8')
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_elastic/moji'>
    self
    <rest_framework_simplejwt.authentication.JWTAuthentication object at 0x000001FD78EBBCB0>
    validated_token
    {'token_type': 'access', 'exp': 1747644567, 'iat': 1747558167, 'jti': '17b8009abe284e5280741313f437b06e', 'user_id': 2, 'name': 'moji', 'mobile': '09389657', 'national_code': '4061080598'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework_simplejwt\\authentication.py, line 130, in get_user\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         try:
    4. \n \n
    5.             user_id = validated_token[api_settings.USER_ID_CLAIM]
    6. \n \n
    7.         except KeyError:
    8. \n \n
    9.             raise InvalidToken(_("Token contained no recognizable user identification"))
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             user = self.user_model.objects.get(**{api_settings.USER_ID_FIELD: user_id})\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except self.user_model.DoesNotExist:
    2. \n \n
    3.             raise AuthenticationFailed(_("User not found"), code="user_not_found")
    4. \n \n
    5. \n \n
    6.         if api_settings.CHECK_USER_IS_ACTIVE and not user.is_active:
    7. \n \n
    8.             raise AuthenticationFailed(_("User is inactive"), code="user_inactive")
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <rest_framework_simplejwt.authentication.JWTAuthentication object at 0x000001FD78EBBCB0>
    user_id
    2
    validated_token
    {'token_type': 'access', 'exp': 1747644567, 'iat': 1747558167, 'jti': '17b8009abe284e5280741313f437b06e', 'user_id': 2, 'name': 'moji', 'mobile': '09389657', 'national_code': '4061080598'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'id': 2}
    name
    'get'
    self
    <django.contrib.auth.models.UserManager object at 0x000001FD778B6780>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 643, in get\n \n\n \n
    \n \n
      \n \n
    1.         limit = None
    2. \n \n
    3.         if (
    4. \n \n
    5.             not clone.query.select_for_update
    6. \n \n
    7.             or connections[clone.db].features.supports_select_for_update_with_limit
    8. \n \n
    9.         ):
    10. \n \n
    11.             limit = MAX_GET_RESULTS
    12. \n \n
    13.             clone.query.set_limits(high=limit)
    14. \n \n
    \n \n
      \n
    1.         num = len(clone)\n                   ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if num == 1:
    2. \n \n
    3.             return clone._result_cache[0]
    4. \n \n
    5.         if not num:
    6. \n \n
    7.             raise self.model.DoesNotExist(
    8. \n \n
    9.                 "%s matching query does not exist." % self.model._meta.object_name
    10. \n \n
    11.             )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    clone
    Error in formatting: OperationalError: could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
    kwargs
    {'id': 2}
    limit
    21
    self
    Error in formatting: OperationalError: could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 380, in __len__\n \n\n \n
    \n \n
      \n \n
    1.     def __repr__(self):
    2. \n \n
    3.         data = list(self[: REPR_OUTPUT_SIZE + 1])
    4. \n \n
    5.         if len(data) > REPR_OUTPUT_SIZE:
    6. \n \n
    7.             data[-1] = "...(remaining elements truncated)..."
    8. \n \n
    9.         return "<%s %r>" % (self.__class__.__name__, data)
    10. \n \n
    11. \n \n
    12.     def __len__(self):
    13. \n \n
    \n \n
      \n
    1.         self._fetch_all()\n             ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return len(self._result_cache)
    2. \n \n
    3. \n \n
    4.     def __iter__(self):
    5. \n \n
    6.         """
    7. \n \n
    8.         The queryset iterator protocol uses three nested iterators in the
    9. \n \n
    10.         default case:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    Error in formatting: OperationalError: could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 1926, in _fetch_all\n \n\n \n
    \n \n
      \n \n
    1.         c._known_related_objects = self._known_related_objects
    2. \n \n
    3.         c._iterable_class = self._iterable_class
    4. \n \n
    5.         c._fields = self._fields
    6. \n \n
    7.         return c
    8. \n \n
    9. \n \n
    10.     def _fetch_all(self):
    11. \n \n
    12.         if self._result_cache is None:
    13. \n \n
    \n \n
      \n
    1.             self._result_cache = list(self._iterable_class(self))\n                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if self._prefetch_related_lookups and not self._prefetch_done:
    2. \n \n
    3.             self._prefetch_related_objects()
    4. \n \n
    5. \n \n
    6.     def _next_is_sticky(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         Indicate that the next filter call and the one following that should
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    Error in formatting: OperationalError: could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 91, in __iter__\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def __iter__(self):
    3. \n \n
    4.         queryset = self.queryset
    5. \n \n
    6.         db = queryset.db
    7. \n \n
    8.         compiler = queryset.query.get_compiler(using=db)
    9. \n \n
    10.         # Execute the query. This will also fill compiler.select, klass_info,
    11. \n \n
    12.         # and annotations.
    13. \n \n
    \n \n
      \n
    1.         results = compiler.execute_sql(\n                      
      \u2026
    2. \n
    \n \n
      \n \n
    1.             chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size
    2. \n \n
    3.         )
    4. \n \n
    5.         select, klass_info, annotation_col_map = (
    6. \n \n
    7.             compiler.select,
    8. \n \n
    9.             compiler.klass_info,
    10. \n \n
    11.             compiler.annotation_col_map,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    compiler
    <SQLCompiler model=User connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    db
    'default'
    queryset
    Error in formatting: OperationalError: could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \n
    self
    <django.db.models.query.ModelIterable object at 0x000001FD78EBABD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\sql\\compiler.py, line 1560, in execute_sql\n \n\n \n
    \n \n
      \n \n
    1.             if result_type == MULTI:
    2. \n \n
    3.                 return iter([])
    4. \n \n
    5.             else:
    6. \n \n
    7.                 return
    8. \n \n
    9.         if chunked_fetch:
    10. \n \n
    11.             cursor = self.connection.chunked_cursor()
    12. \n \n
    13.         else:
    14. \n \n
    \n \n
      \n
    1.             cursor = self.connection.cursor()\n                           ^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         try:
    2. \n \n
    3.             cursor.execute(sql, params)
    4. \n \n
    5.         except Exception:
    6. \n \n
    7.             # Might fail for server-side cursors (e.g. connection closed)
    8. \n \n
    9.             cursor.close()
    10. \n \n
    11.             raise
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    chunk_size
    100
    chunked_fetch
    False
    params
    (2,)
    result_type
    'multi'
    self
    <SQLCompiler model=User connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    sql
    ('SELECT "authentication_user"."id", "authentication_user"."password", '\n '"authentication_user"."last_login", "authentication_user"."is_superuser", '\n '"authentication_user"."username", "authentication_user"."first_name", '\n '"authentication_user"."last_name", "authentication_user"."email", '\n '"authentication_user"."is_staff", "authentication_user"."is_active", '\n '"authentication_user"."date_joined", "authentication_user"."create_date", '\n '"authentication_user"."modify_date", "authentication_user"."created_by_id", '\n '"authentication_user"."modified_by_id", '\n '"authentication_user"."creator_info", "authentication_user"."modifier_info", '\n '"authentication_user"."trash", "authentication_user"."mobile", '\n '"authentication_user"."phone", "authentication_user"."national_code", '\n '"authentication_user"."birthdate", "authentication_user"."nationality", '\n '"authentication_user"."ownership", "authentication_user"."address", '\n '"authentication_user"."photo", "authentication_user"."province_id", '\n '"authentication_user"."city_id", "authentication_user"."otp_status", '\n '"authentication_user"."is_herd_owner" FROM "authentication_user" WHERE '\n '"authentication_user"."id" = %s LIMIT 21')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,)
    func
    <function BaseDatabaseWrapper.cursor at 0x000001FD77519D00>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 316, in cursor\n \n\n \n
    \n \n
      \n \n
    1.                 return self.connection.close()
    2. \n \n
    3. \n \n
    4.     # ##### Generic wrappers for PEP-249 connection methods #####
    5. \n \n
    6. \n \n
    7.     @async_unsafe
    8. \n \n
    9.     def cursor(self):
    10. \n \n
    11.         """Create a cursor, opening a connection if necessary."""
    12. \n \n
    \n \n
      \n
    1.         return self._cursor()\n                    ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     @async_unsafe
    3. \n \n
    4.     def commit(self):
    5. \n \n
    6.         """Commit a transaction and reset the dirty flag."""
    7. \n \n
    8.         self.validate_thread_sharing()
    9. \n \n
    10.         self.validate_no_atomic_block()
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 292, in _cursor\n \n\n \n
    \n \n
      \n \n
    1.             wrapped_cursor = self.make_debug_cursor(cursor)
    2. \n \n
    3.         else:
    4. \n \n
    5.             wrapped_cursor = self.make_cursor(cursor)
    6. \n \n
    7.         return wrapped_cursor
    8. \n \n
    9. \n \n
    10.     def _cursor(self, name=None):
    11. \n \n
    12.         self.close_if_health_check_failed()
    13. \n \n
    \n \n
      \n
    1.         self.ensure_connection()\n             ^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         with self.wrap_database_errors:
    2. \n \n
    3.             return self._prepare_cursor(self.create_cursor(name))
    4. \n \n
    5. \n \n
    6.     def _commit(self):
    7. \n \n
    8.         if self.connection is not None:
    9. \n \n
    10.             with debug_transaction(self, "COMMIT"), self.wrap_database_errors:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    name
    None
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,)
    func
    <function BaseDatabaseWrapper.ensure_connection at 0x000001FD775198A0>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 274, in ensure_connection\n \n\n \n
    \n \n
      \n \n
    1.                 % self.alias
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.     @async_unsafe
    7. \n \n
    8.     def ensure_connection(self):
    9. \n \n
    10.         """Guarantee that a connection to the database is established."""
    11. \n \n
    12.         if self.connection is None:
    13. \n \n
    \n \n
      \n
    1.             with self.wrap_database_errors:\n                 ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.connect()
    2. \n \n
    3. \n \n
    4.     # ##### Backend-specific wrappers for PEP-249 connection methods #####
    5. \n \n
    6. \n \n
    7.     def _prepare_cursor(self, cursor):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\utils.py, line 91, in __exit__\n \n\n \n
    \n \n
      \n \n
    1.             db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
    2. \n \n
    3.             if issubclass(exc_type, db_exc_type):
    4. \n \n
    5.                 dj_exc_value = dj_exc_type(*exc_value.args)
    6. \n \n
    7.                 # Only set the 'errors_occurred' flag for errors that may make
    8. \n \n
    9.                 # the connection unusable.
    10. \n \n
    11.                 if dj_exc_type not in (DataError, IntegrityError):
    12. \n \n
    13.                     self.wrapper.errors_occurred = True
    14. \n \n
    \n \n
      \n
    1.                 raise dj_exc_value.with_traceback(traceback) from exc_value\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __call__(self, func):
    3. \n \n
    4.         # Note that we are intentionally not using @wraps here for performance
    5. \n \n
    6.         # reasons. Refs #21109.
    7. \n \n
    8.         def inner(*args, **kwargs):
    9. \n \n
    10.             with self:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    db_exc_type
    <class 'psycopg2.OperationalError'>
    dj_exc_type
    <class 'django.db.utils.OperationalError'>
    dj_exc_value
    OperationalError('could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \\n')
    exc_type
    <class 'psycopg2.OperationalError'>
    exc_value
    OperationalError('could not translate host name "monte-rosa.liara.cloud" to address: No such host is known. \\n')
    self
    <django.db.utils.DatabaseErrorWrapper object at 0x000001FD78EB9520>
    traceback
    <traceback object at 0x000001FD78EDDE00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 275, in ensure_connection\n \n\n \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3. \n \n
    4.     @async_unsafe
    5. \n \n
    6.     def ensure_connection(self):
    7. \n \n
    8.         """Guarantee that a connection to the database is established."""
    9. \n \n
    10.         if self.connection is None:
    11. \n \n
    12.             with self.wrap_database_errors:
    13. \n \n
    \n \n
      \n
    1.                 self.connect()\n                     ^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # ##### Backend-specific wrappers for PEP-249 connection methods #####
    3. \n \n
    4. \n \n
    5.     def _prepare_cursor(self, cursor):
    6. \n \n
    7.         """
    8. \n \n
    9.         Validate the connection is usable and perform database cursor wrapping.
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,)
    func
    <function BaseDatabaseWrapper.connect at 0x000001FD775196C0>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\base\\base.py, line 256, in connect\n \n\n \n
    \n \n
      \n \n
    1.         self.close_at = None if max_age is None else time.monotonic() + max_age
    2. \n \n
    3.         self.closed_in_transaction = False
    4. \n \n
    5.         self.errors_occurred = False
    6. \n \n
    7.         # New connections are healthy.
    8. \n \n
    9.         self.health_check_done = True
    10. \n \n
    11.         # Establish the connection
    12. \n \n
    13.         conn_params = self.get_connection_params()
    14. \n \n
    \n \n
      \n
    1.         self.connection = self.get_new_connection(conn_params)\n                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         self.set_autocommit(self.settings_dict["AUTOCOMMIT"])
    2. \n \n
    3.         self.init_connection_state()
    4. \n \n
    5.         connection_created.send(sender=self.__class__, connection=self)
    6. \n \n
    7. \n \n
    8.         self.run_on_commit = []
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    conn_params
    {'client_encoding': 'UTF8',\n 'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    max_age
    0
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\utils\\asyncio.py, line 26, in inner\n \n\n \n
    \n \n
      \n \n
    1.                 get_running_loop()
    2. \n \n
    3.             except RuntimeError:
    4. \n \n
    5.                 pass
    6. \n \n
    7.             else:
    8. \n \n
    9.                 if not os.environ.get("DJANGO_ALLOW_ASYNC_UNSAFE"):
    10. \n \n
    11.                     raise SynchronousOnlyOperation(message)
    12. \n \n
    13.             # Pass onward.
    14. \n \n
    \n \n
      \n
    1.             return func(*args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4. \n \n
    5.     # If the message is actually a function, then be a no-arguments decorator.
    6. \n \n
    7.     if callable(message):
    8. \n \n
    9.         func = message
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<DatabaseWrapper vendor='postgresql' alias='default'>,\n {'client_encoding': 'UTF8',\n  'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n  'dbname': 'postgres',\n  'host': 'monte-rosa.liara.cloud',\n  'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n  'port': '32718',\n  'user': 'root'})
    func
    <function DatabaseWrapper.get_new_connection at 0x000001FD77610400>
    kwargs
    {}
    message
    'You cannot call this from an async context - use a thread or sync_to_async.'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\postgresql\\base.py, line 275, in get_new_connection\n \n\n \n
    \n \n
      \n \n
    1.                 self.isolation_level = IsolationLevel(isolation_level_value)
    2. \n \n
    3.                 set_isolation_level = True
    4. \n \n
    5.             except ValueError:
    6. \n \n
    7.                 raise ImproperlyConfigured(
    8. \n \n
    9.                     f"Invalid transaction isolation level {isolation_level_value} "
    10. \n \n
    11.                     f"specified. Use one of the psycopg.IsolationLevel values."
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.         connection = self.Database.connect(**conn_params)\n                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         if set_isolation_level:
    2. \n \n
    3.             connection.isolation_level = self.isolation_level
    4. \n \n
    5.         if not is_psycopg3:
    6. \n \n
    7.             # Register dummy loads() to avoid a round trip from psycopg2's
    8. \n \n
    9.             # decode to json.dumps() to json.loads(), when using a custom
    10. \n \n
    11.             # decoder in JSONField.
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    conn_params
    {'client_encoding': 'UTF8',\n 'cursor_factory': <class 'psycopg2.extensions.cursor'>,\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    options
    {}
    self
    <DatabaseWrapper vendor='postgresql' alias='default'>
    set_isolation_level
    False
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\psycopg2\\__init__.py, line 122, in connect\n \n\n \n
    \n \n
      \n \n
    1.     kwasync = {}
    2. \n \n
    3.     if 'async' in kwargs:
    4. \n \n
    5.         kwasync['async'] = kwargs.pop('async')
    6. \n \n
    7.     if 'async_' in kwargs:
    8. \n \n
    9.         kwasync['async_'] = kwargs.pop('async_')
    10. \n \n
    11. \n \n
    12.     dsn = _ext.make_dsn(dsn, **kwargs)
    13. \n \n
    \n \n
      \n
    1.     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.     if cursor_factory is not None:
    2. \n \n
    3.         conn.cursor_factory = cursor_factory
    4. \n \n
    5. \n \n
    6.     return conn
    7. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    connection_factory
    None
    cursor_factory
    <class 'psycopg2.extensions.cursor'>
    dsn
    ('dbname=postgres client_encoding=UTF8 user=root '\n 'password=aFC3hqbxxR0SeBPZ6TCZ37my host=monte-rosa.liara.cloud port=32718')
    kwargs
    {'client_encoding': 'UTF8',\n 'dbname': 'postgres',\n 'host': 'monte-rosa.liara.cloud',\n 'password': 'aFC3hqbxxR0SeBPZ6TCZ37my',\n 'port': '32718',\n 'user': 'root'}
    kwasync
    {}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

AnonymousUser

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_elastic/moji'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001FD78EFF160>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:04:05.950334"}, "310": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 386, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:05:00.183937"}, "311": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 363, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:05:16.073537"}, "312": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 381, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:05:18.246975"}, "313": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 318, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:06:19.611472"}, "314": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 291, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:09:07.355560"}, "315": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 380, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:15:29.976676"}, "316": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 291, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:21.130203"}, "317": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n [name='lll']\n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:23.626274"}, "318": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 295, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:24.445450"}, "319": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 265, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:27.304160"}, "320": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 335, "body_response": "{\"detail\":\"Method \\\"GET\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:40.630409"}, "321": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 306, "body_response": "{\"detail\":\"Method \\\"POST\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:48.908629"}, "322": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 405, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 327, "body_response": "{\"detail\":\"Method \\\"PUT\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:16:52.632876"}, "323": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 973, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:18:18.649998"}, "324": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 326, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:18:49.891299"}, "325": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 299, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:18:51.754374"}, "326": {"endpoint": "/search/api/v1/user_elastic/user.username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 375, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:19:07.420107"}, "327": {"endpoint": "/search/api/v1/user_elastic/user%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 342, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:19:14.096651"}, "328": {"endpoint": "/search/api/v1/user_elastic/user_username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 388, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:19:38.123640"}, "329": {"endpoint": "/search/api/v1/user_elastic/user_username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1042, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:20:22.597130"}, "330": {"endpoint": "/search/api/v1/user_elastic/_user_username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 361, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:20:48.392548"}, "331": {"endpoint": "/search/api/v1/user_elastic/__user_username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 347, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:20:52.213787"}, "332": {"endpoint": "/search/api/v1/user_elastic/__user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:20:55.773305"}, "333": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 315, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:20:59.740974"}, "334": {"endpoint": "/search/api/v1/user_elastic/1/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 393, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:21:08.540750"}, "335": {"endpoint": "/search/api/v1/user_elastic/5/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 353, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:21:12.513869"}, "336": {"endpoint": "/search/api/v1/user_elastic/8/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 338, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:21:15.032650"}, "337": {"endpoint": "/search/api/v1/%7B'user__username':%20%22moji%22%7D/8/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 56, "body_response": "\n\n\n \n Page not found at /search/api/v1/{'user__username': "moji"}/8/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/%7B'user__username':%20%22moji%22%7D/8/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/{'user__username': "moji"}/8/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:21:59.105590"}, "338": {"endpoint": "/search/api/v1/%7B'user__username':%20%22moji%22%7D/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /search/api/v1/{'user__username': "moji"}/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/%7B'user__username':%20%22moji%22%7D/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/{'user__username': "moji"}/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:22:03.217718"}, "339": {"endpoint": "/search/api/v1/user_elastic/%7B'user__username':%20%22moji%22%7D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 374, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:22:20.323783"}, "340": {"endpoint": "/search/api/v1/user_elastic/%7B%22user__username%22:%20%22moji%22%7D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 316, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:22:41.665043"}, "341": {"endpoint": "/search/api/v1/user_elastic/%7B%22user__username%22:%20%22moji%22%7D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 390, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:24:45.702701"}, "342": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 472, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:24:52.861686"}, "343": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 456, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:26:13.744810"}, "344": {"endpoint": "/search/api/v1/user_relation_search/?search=09389657326&search=4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:26:24.076332"}, "345": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 446, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:26:36.155000"}, "346": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598&search=U", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 446, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:26:55.359623"}, "347": {"endpoint": "/search/api/v1/user_relation_search/?search=4061080598&search=U&search=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 466, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:28:14.007180"}, "348": {"endpoint": "/search/api/v1/user_relation_search/?search=mo", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:28:44.799121"}, "349": {"endpoint": "/search/api/v1/user_relation_search/?search=moj", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 407, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:28:51.051208"}, "350": {"endpoint": "/search/api/v1/user_relation_search/?search=kill", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 416, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:28:57.596200"}, "351": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 418, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:29:00.847612"}, "352": {"endpoint": "/search/api/v1/user_relation_search/?search=hou", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 412, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:29:04.157860"}, "353": {"endpoint": "/search/api/v1/user_relation_search/?search=housh", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 437, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:29:08.555191"}, "354": {"endpoint": "/search/api/v1/user_relation_search/?search=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 997, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:52:21.405199"}, "355": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username:moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 475, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:53:22.028759"}, "356": {"endpoint": "/search/api/v1/user_relation_search/?search=organization.name:%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 468, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:53:52.626951"}, "357": {"endpoint": "/search/api/v1/user_relation_search/?organization=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 639, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:55:10.217931"}, "358": {"endpoint": "/search/api/v1/user_relation_search/?organization=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 532, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:55:12.427389"}, "359": {"endpoint": "/search/api/v1/user_relation_search/?userrelations=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 420, "body_response": "{\"count\":17,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:58:24.402471"}, "360": {"endpoint": "/search/api/v1/user_relation_search/?organization=%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 417, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:58:45.505083"}, "361": {"endpoint": "/search/api/v1/user_relation_search/?organization=%D8%AC%D9%87%D8%A7%D8%AF%20%D8%A7%D8%B3%D8%AA%D8%A7%D9%86", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 418, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 15:58:53.383062"}, "362": {"endpoint": "/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 544, "body_response": "\n\n\n \n \n BadRequestError\n at /search/api/v1/user_relation_search/suggest/\n \n \n \n \n\n\n
\n

BadRequestError\n at /search/api/v1/user_relation_search/suggest/

\n
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.suggest]')
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo
Django Version:5.0
Exception Type:BadRequestError
Exception Value:
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.suggest]')
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 12:31:46 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.11729264259338379, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000196C9A01F70>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x00000196C9A64FE0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000196C9A01F70>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x00000196C9A64FE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    view_func
    <function SearchUsersDocumentViewSet at 0x00000196C9A64F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'suggest'
    actions
    {'get': 'suggest', 'head': 'suggest'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>>
    initkwargs
    {'basename': 'user_relation_search',\n 'description': 'Suggest functionality.',\n 'detail': False,\n 'name': 'Suggest'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>}
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.11729264259338379, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    exception_handler
    <function exception_handler at 0x00000196C96B19E0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.11729264259338379, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\viewsets.py, line 52, in suggest\n \n\n \n
    \n \n
      \n \n
    1.         queryset = self.filter_queryset(self.get_queryset())
    2. \n \n
    3.         is_suggest = getattr(queryset, '_suggest', False)
    4. \n \n
    5.         if not is_suggest:
    6. \n \n
    7.             return Response(
    8. \n \n
    9.                 status=status.HTTP_400_BAD_REQUEST
    10. \n \n
    11.             )
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return Response(page)
    2. \n \n
    3. \n \n
    4. \n \n
    5. class FunctionalSuggestMixin(object):
    6. \n \n
    7.     """Functional suggest mixin."""
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000196C9D8E330>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000196C9D8E330>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 167, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # ``execute_suggest`` method shall be called, instead of the
    2. \n \n
    3.         # ``execute`` method and results shall be returned back immediately.
    4. \n \n
    5.         # Placing this code at the very start of ``paginate_queryset`` method
    6. \n \n
    7.         # saves us unnecessary queries.
    8. \n \n
    9.         is_suggest = getattr(queryset, '_suggest', False)
    10. \n \n
    11.         if is_suggest:
    12. \n \n
    13.             if ELASTICSEARCH_GTE_6_0:
    14. \n \n
    \n \n
      \n
    1.                 return queryset.execute().to_dict().get('suggest')\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return queryset.execute_suggest().to_dict()
    2. \n \n
    3. \n \n
    4.         # Check if we're using paginate queryset from `functional_suggest`
    5. \n \n
    6.         # backend.
    7. \n \n
    8.         if view.action == 'functional_suggest':
    9. \n \n
    10.             return queryset
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x00000196C9D8E330>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x00000196C9D8F500>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000196C9EC92E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 739, in execute\n \n\n \n
    \n \n
      \n \n
    1.             ES, while cached result will be ignored. Defaults to `False`
    2. \n \n
    3.         """
    4. \n \n
    5.         if ignore_cache or not hasattr(self, "_response"):
    6. \n \n
    7.             es = get_connection(self._using)
    8. \n \n
    9. \n \n
    10.             self._response = self._response_class(
    11. \n \n
    12.                 self,
    13. \n \n
    \n \n
      \n
    1.                 es.search(index=self._index, body=self.to_dict(), **self._params).body,\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.         return self._response
    4. \n \n
    5. \n \n
    6.     def scan(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         Turn the search into a scan search and return a generator that will
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    ignore_cache
    False
    self
    <elasticsearch_dsl.search.Search object at 0x00000196C9D8E330>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    alias
    'from'
    api
    <function Elasticsearch.search at 0x00000196C6EEB7E0>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    maybe_transport_options
    set()
    parameter_aliases
    {'_source': 'source',\n '_source_excludes': 'source_excludes',\n '_source_includes': 'source_includes',\n 'from': 'from_'}
    rename_to
    'from_'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 3733, in search\n \n\n \n
    \n \n
      \n \n
    1.         if version is not None:
    2. \n \n
    3.             __body["version"] = version
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_fields=True,
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_search'
    _Elasticsearch__query
    {}
    aggregations
    None
    aggs
    None
    allow_no_indices
    None
    allow_partial_search_results
    None
    analyze_wildcard
    None
    analyzer
    None
    batched_reduce_size
    None
    ccs_minimize_roundtrips
    None
    collapse
    None
    default_operator
    None
    df
    None
    docvalue_fields
    None
    error_trace
    None
    expand_wildcards
    None
    explain
    None
    ext
    None
    fields
    None
    filter_path
    None
    from_
    None
    highlight
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    indices_boost
    None
    knn
    None
    lenient
    None
    max_concurrent_shard_requests
    None
    min_compatible_shard_node
    None
    min_score
    None
    pit
    None
    post_filter
    None
    pre_filter_shard_size
    None
    preference
    None
    pretty
    None
    profile
    None
    q
    None
    query
    {'match_all': {}}
    rank
    None
    request_cache
    None
    rescore
    None
    rest_total_hits_as_int
    None
    routing
    None
    runtime_mappings
    None
    script_fields
    None
    scroll
    None
    search_after
    None
    search_type
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    seq_no_primary_term
    None
    size
    None
    slice
    None
    sort
    None
    source
    None
    source_excludes
    None
    source_includes
    None
    stats
    None
    stored_fields
    None
    suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    suggest_field
    None
    suggest_mode
    None
    suggest_size
    None
    suggest_text
    None
    terminate_after
    None
    timeout
    None
    track_scores
    None
    track_total_hits
    None
    typed_keys
    None
    version
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     error = resp_body.get("error", message)
    2. \n \n
    3.                     if isinstance(error, dict) and "type" in error:
    4. \n \n
    5.                         error = error["type"]
    6. \n \n
    7.                     message = error
    8. \n \n
    9.                 except (ValueError, KeyError, TypeError):
    10. \n \n
    11.                     pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 message=message, meta=meta, body=resp_body
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.         # 'X-Elastic-Product: Elasticsearch' should be on every 2XX response.
    7. \n \n
    8.         if not self._verified_elasticsearch:
    9. \n \n
    10.             # If the header is set we mark the server as verified.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    error
    'search_phase_execution_exception'
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    message
    'search_phase_execution_exception'
    meta
    ApiResponseMeta(status=400,\n                http_version='1.1',\n                headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'},\n                duration=0.11729264259338379,\n                node=NodeConfig(scheme='http',\n                                host='monte-rosa.liara.cloud',\n                                port=31157,\n                                path_prefix='',\n                                headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'},\n                                connections_per_node=10,\n                                request_timeout=10.0,\n                                http_compress=False,\n                                verify_certs=True,\n                                ca_certs=None,\n                                client_cert=None,\n                                client_key=None,\n                                ssl_assert_hostname=None,\n                                ssl_assert_fingerprint=None,\n                                ssl_version=None,\n                                ssl_context=None,\n                                ssl_show_warn=True,\n                                _extras={}))
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x00000196C9D7E660>
    params
    {}
    path
    '/userrelations/_search'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    resp_body
    {'error': {'caused_by': {'caused_by': {'reason': 'no mapping found for field '\n                                                 '[user.username.suggest]',\n                                       'type': 'illegal_argument_exception'},\n                         'reason': 'no mapping found for field '\n                                   '[user.username.suggest]',\n                         'type': 'illegal_argument_exception'},\n           'failed_shards': [{'index': 'userrelations',\n                              'node': '_mzUMkjuQSCKCvlwPI4--Q',\n                              'reason': {'reason': 'no mapping found for field '\n                                                   '[user.username.suggest]',\n                                         'type': 'illegal_argument_exception'},\n                              'shard': 0}],\n           'grouped': True,\n           'phase': 'query',\n           'reason': 'all shards failed',\n           'root_cause': [{'reason': 'no mapping found for field '\n                                     '[user.username.suggest]',\n                           'type': 'illegal_argument_exception'}],\n           'type': 'search_phase_execution_exception'},\n 'status': 400}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_search'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
username_suggest__completion
'mo'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/suggest/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'username_suggest__completion=mo'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000196C9ECBA00>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:01:46.375089"}, "363": {"endpoint": "/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 822, "body_response": "\n\n\n \n \n BadRequestError\n at /search/api/v1/user_relation_search/suggest/\n \n \n \n \n\n\n
\n

BadRequestError\n at /search/api/v1/user_relation_search/suggest/

\n
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.raw]')
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo
Django Version:5.0
Exception Type:BadRequestError
Exception Value:
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.raw]')
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 12:39:05 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '644'}, duration=0.08914065361022949, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}}, 'status': 400})
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000225154A2810>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x00000225153A1080>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000225154A2810>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x00000225153A1080>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    view_func
    <function SearchUsersDocumentViewSet at 0x00000225153A0FE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'suggest'
    actions
    {'get': 'suggest', 'head': 'suggest'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>>
    initkwargs
    {'basename': 'user_relation_search',\n 'description': 'Suggest functionality.',\n 'detail': False,\n 'name': 'Suggest'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>}
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '644'}, duration=0.08914065361022949, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}}, 'status': 400})
    exception_handler
    <function exception_handler at 0x0000022514FED1C0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '644'}, duration=0.08914065361022949, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.raw]'}}}, 'status': 400})
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\viewsets.py, line 52, in suggest\n \n\n \n
    \n \n
      \n \n
    1.         queryset = self.filter_queryset(self.get_queryset())
    2. \n \n
    3.         is_suggest = getattr(queryset, '_suggest', False)
    4. \n \n
    5.         if not is_suggest:
    6. \n \n
    7.             return Response(
    8. \n \n
    9.                 status=status.HTTP_400_BAD_REQUEST
    10. \n \n
    11.             )
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return Response(page)
    2. \n \n
    3. \n \n
    4. \n \n
    5. class FunctionalSuggestMixin(object):
    6. \n \n
    7.     """Functional suggest mixin."""
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000022515A02C60>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000022515A02C60>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 167, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # ``execute_suggest`` method shall be called, instead of the
    2. \n \n
    3.         # ``execute`` method and results shall be returned back immediately.
    4. \n \n
    5.         # Placing this code at the very start of ``paginate_queryset`` method
    6. \n \n
    7.         # saves us unnecessary queries.
    8. \n \n
    9.         is_suggest = getattr(queryset, '_suggest', False)
    10. \n \n
    11.         if is_suggest:
    12. \n \n
    13.             if ELASTICSEARCH_GTE_6_0:
    14. \n \n
    \n \n
      \n
    1.                 return queryset.execute().to_dict().get('suggest')\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return queryset.execute_suggest().to_dict()
    2. \n \n
    3. \n \n
    4.         # Check if we're using paginate queryset from `functional_suggest`
    5. \n \n
    6.         # backend.
    7. \n \n
    8.         if view.action == 'functional_suggest':
    9. \n \n
    10.             return queryset
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x0000022515A02C60>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x00000225154E1CA0>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x00000225154C0B00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 739, in execute\n \n\n \n
    \n \n
      \n \n
    1.             ES, while cached result will be ignored. Defaults to `False`
    2. \n \n
    3.         """
    4. \n \n
    5.         if ignore_cache or not hasattr(self, "_response"):
    6. \n \n
    7.             es = get_connection(self._using)
    8. \n \n
    9. \n \n
    10.             self._response = self._response_class(
    11. \n \n
    12.                 self,
    13. \n \n
    \n \n
      \n
    1.                 es.search(index=self._index, body=self.to_dict(), **self._params).body,\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.         return self._response
    4. \n \n
    5. \n \n
    6.     def scan(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         Turn the search into a scan search and return a generator that will
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    ignore_cache
    False
    self
    <elasticsearch_dsl.search.Search object at 0x0000022515A02C60>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    alias
    'from'
    api
    <function Elasticsearch.search at 0x000002251282B7E0>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                              'text': 'mo'}}}
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                              'text': 'mo'}}}
    maybe_transport_options
    set()
    parameter_aliases
    {'_source': 'source',\n '_source_excludes': 'source_excludes',\n '_source_includes': 'source_includes',\n 'from': 'from_'}
    rename_to
    'from_'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 3733, in search\n \n\n \n
    \n \n
      \n \n
    1.         if version is not None:
    2. \n \n
    3.             __body["version"] = version
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_fields=True,
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                              'text': 'mo'}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_search'
    _Elasticsearch__query
    {}
    aggregations
    None
    aggs
    None
    allow_no_indices
    None
    allow_partial_search_results
    None
    analyze_wildcard
    None
    analyzer
    None
    batched_reduce_size
    None
    ccs_minimize_roundtrips
    None
    collapse
    None
    default_operator
    None
    df
    None
    docvalue_fields
    None
    error_trace
    None
    expand_wildcards
    None
    explain
    None
    ext
    None
    fields
    None
    filter_path
    None
    from_
    None
    highlight
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    indices_boost
    None
    knn
    None
    lenient
    None
    max_concurrent_shard_requests
    None
    min_compatible_shard_node
    None
    min_score
    None
    pit
    None
    post_filter
    None
    pre_filter_shard_size
    None
    preference
    None
    pretty
    None
    profile
    None
    q
    None
    query
    {'match_all': {}}
    rank
    None
    request_cache
    None
    rescore
    None
    rest_total_hits_as_int
    None
    routing
    None
    runtime_mappings
    None
    script_fields
    None
    scroll
    None
    search_after
    None
    search_type
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    seq_no_primary_term
    None
    size
    None
    slice
    None
    sort
    None
    source
    None
    source_excludes
    None
    source_includes
    None
    stats
    None
    stored_fields
    None
    suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                  'text': 'mo'}}
    suggest_field
    None
    suggest_mode
    None
    suggest_size
    None
    suggest_text
    None
    terminate_after
    None
    timeout
    None
    track_scores
    None
    track_total_hits
    None
    typed_keys
    None
    version
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     error = resp_body.get("error", message)
    2. \n \n
    3.                     if isinstance(error, dict) and "type" in error:
    4. \n \n
    5.                         error = error["type"]
    6. \n \n
    7.                     message = error
    8. \n \n
    9.                 except (ValueError, KeyError, TypeError):
    10. \n \n
    11.                     pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 message=message, meta=meta, body=resp_body
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.         # 'X-Elastic-Product: Elasticsearch' should be on every 2XX response.
    7. \n \n
    8.         if not self._verified_elasticsearch:
    9. \n \n
    10.             # If the header is set we mark the server as verified.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.raw'},\n                                              'text': 'mo'}}}
    error
    'search_phase_execution_exception'
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    message
    'search_phase_execution_exception'
    meta
    ApiResponseMeta(status=400,\n                http_version='1.1',\n                headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '644'},\n                duration=0.08914065361022949,\n                node=NodeConfig(scheme='http',\n                                host='monte-rosa.liara.cloud',\n                                port=31157,\n                                path_prefix='',\n                                headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'},\n                                connections_per_node=10,\n                                request_timeout=10.0,\n                                http_compress=False,\n                                verify_certs=True,\n                                ca_certs=None,\n                                client_cert=None,\n                                client_key=None,\n                                ssl_assert_hostname=None,\n                                ssl_assert_fingerprint=None,\n                                ssl_version=None,\n                                ssl_context=None,\n                                ssl_show_warn=True,\n                                _extras={}))
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x00000225159071A0>
    params
    {}
    path
    '/userrelations/_search'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    resp_body
    {'error': {'caused_by': {'caused_by': {'reason': 'no mapping found for field '\n                                                 '[user.username.raw]',\n                                       'type': 'illegal_argument_exception'},\n                         'reason': 'no mapping found for field '\n                                   '[user.username.raw]',\n                         'type': 'illegal_argument_exception'},\n           'failed_shards': [{'index': 'userrelations',\n                              'node': '_mzUMkjuQSCKCvlwPI4--Q',\n                              'reason': {'reason': 'no mapping found for field '\n                                                   '[user.username.raw]',\n                                         'type': 'illegal_argument_exception'},\n                              'shard': 0}],\n           'grouped': True,\n           'phase': 'query',\n           'reason': 'all shards failed',\n           'root_cause': [{'reason': 'no mapping found for field '\n                                     '[user.username.raw]',\n                           'type': 'illegal_argument_exception'}],\n           'type': 'search_phase_execution_exception'},\n 'status': 400}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_search'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
username_suggest__completion
'mo'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/suggest/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'username_suggest__completion=mo'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000022511227B50>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:09:05.829050"}, "364": {"endpoint": "/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 875, "body_response": "\n\n\n \n \n BadRequestError\n at /search/api/v1/user_relation_search/suggest/\n \n \n \n \n\n\n
\n

BadRequestError\n at /search/api/v1/user_relation_search/suggest/

\n
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.suggest]')
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo
Django Version:5.0
Exception Type:BadRequestError
Exception Value:
BadRequestError(400, 'search_phase_execution_exception', 'no mapping found for field [user.username.suggest]')
Exception Location:D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request
Raised during:apps.search.api.v1.api.SearchUsersDocumentViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Sun, 18 May 2025 12:39:53 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.08582758903503418, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001FA4447D700>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function SearchUsersDocumentViewSet at 0x000001FA44364FE0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001FA4447D700>
    wrapped_callback
    <function SearchUsersDocumentViewSet at 0x000001FA44364FE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    view_func
    <function SearchUsersDocumentViewSet at 0x000001FA44364F40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'suggest'
    actions
    {'get': 'suggest', 'head': 'suggest'}
    args
    ()
    cls
    <class 'apps.search.api.v1.api.SearchUsersDocumentViewSet'>
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>>
    initkwargs
    {'basename': 'user_relation_search',\n 'description': 'Suggest functionality.',\n 'detail': False,\n 'name': 'Suggest'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>,\n 'view': <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>}
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.08582758903503418, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    exception_handler
    <function exception_handler at 0x000001FA43FB18A0>
    response
    None
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    BadRequestError('search_phase_execution_exception', meta=ApiResponseMeta(status=400, http_version='1.1', headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'}, duration=0.08582758903503418, node=NodeConfig(scheme='http', host='monte-rosa.liara.cloud', port=31157, path_prefix='', headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'}, connections_per_node=10, request_timeout=10.0, http_compress=False, verify_certs=True, ca_certs=None, client_cert=None, client_key=None, ssl_assert_hostname=None, ssl_assert_fingerprint=None, ssl_version=None, ssl_context=None, ssl_show_warn=True, _extras={})), body={'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'query', 'grouped': True, 'failed_shards': [{'shard': 0, 'index': 'userrelations', 'node': '_mzUMkjuQSCKCvlwPI4--Q', 'reason': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}], 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'no mapping found for field [user.username.suggest]'}}}, 'status': 400})
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method SuggestMixin.suggest of <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\viewsets.py, line 52, in suggest\n \n\n \n
    \n \n
      \n \n
    1.         queryset = self.filter_queryset(self.get_queryset())
    2. \n \n
    3.         is_suggest = getattr(queryset, '_suggest', False)
    4. \n \n
    5.         if not is_suggest:
    6. \n \n
    7.             return Response(
    8. \n \n
    9.                 status=status.HTTP_400_BAD_REQUEST
    10. \n \n
    11.             )
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         page = self.paginate_queryset(queryset)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return Response(page)
    2. \n \n
    3. \n \n
    4. \n \n
    5. class FunctionalSuggestMixin(object):
    6. \n \n
    7.     """Functional suggest mixin."""
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001FA444A2570>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\generics.py, line 175, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def paginate_queryset(self, queryset):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a single page of results, or `None` if pagination is disabled.
    7. \n \n
    8.         """
    9. \n \n
    10.         if self.paginator is None:
    11. \n \n
    12.             return None
    13. \n \n
    \n \n
      \n
    1.         return self.paginator.paginate_queryset(queryset, self.request, view=self)\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def get_paginated_response(self, data):
    3. \n \n
    4.         """
    5. \n \n
    6.         Return a paginated style `Response` object for the given output data.
    7. \n \n
    8.         """
    9. \n \n
    10.         assert self.paginator is not None
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001FA444A2570>
    self
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django_elasticsearch_dsl_drf\\pagination.py, line 167, in paginate_queryset\n \n\n \n
    \n \n
      \n \n
    1.         # ``execute_suggest`` method shall be called, instead of the
    2. \n \n
    3.         # ``execute`` method and results shall be returned back immediately.
    4. \n \n
    5.         # Placing this code at the very start of ``paginate_queryset`` method
    6. \n \n
    7.         # saves us unnecessary queries.
    8. \n \n
    9.         is_suggest = getattr(queryset, '_suggest', False)
    10. \n \n
    11.         if is_suggest:
    12. \n \n
    13.             if ELASTICSEARCH_GTE_6_0:
    14. \n \n
    \n \n
      \n
    1.                 return queryset.execute().to_dict().get('suggest')\n                            ^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return queryset.execute_suggest().to_dict()
    2. \n \n
    3. \n \n
    4.         # Check if we're using paginate queryset from `functional_suggest`
    5. \n \n
    6.         # backend.
    7. \n \n
    8.         if view.action == 'functional_suggest':
    9. \n \n
    10.             return queryset
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    is_suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    queryset
    <elasticsearch_dsl.search.Search object at 0x000001FA444A2570>
    request
    <rest_framework.request.Request: GET '/search/api/v1/user_relation_search/suggest/?username_suggest__completion=mo'>
    self
    <django_elasticsearch_dsl_drf.pagination.PageNumberPagination object at 0x000001FA44822660>
    view
    <apps.search.api.v1.api.SearchUsersDocumentViewSet object at 0x000001FA446BAD80>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch_dsl\\search.py, line 739, in execute\n \n\n \n
    \n \n
      \n \n
    1.             ES, while cached result will be ignored. Defaults to `False`
    2. \n \n
    3.         """
    4. \n \n
    5.         if ignore_cache or not hasattr(self, "_response"):
    6. \n \n
    7.             es = get_connection(self._using)
    8. \n \n
    9. \n \n
    10.             self._response = self._response_class(
    11. \n \n
    12.                 self,
    13. \n \n
    \n \n
      \n
    1.                 es.search(index=self._index, body=self.to_dict(), **self._params).body,\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.         return self._response
    4. \n \n
    5. \n \n
    6.     def scan(self):
    7. \n \n
    8.         """
    9. \n \n
    10.         Turn the search into a scan search and return a generator that will
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    es
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    ignore_cache
    False
    self
    <elasticsearch_dsl.search.Search object at 0x000001FA444A2570>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\utils.py, line 402, in wrapped\n \n\n \n
    \n \n
      \n \n
    1.             if parameter_aliases:
    2. \n \n
    3.                 for alias, rename_to in parameter_aliases.items():
    4. \n \n
    5.                     try:
    6. \n \n
    7.                         kwargs[rename_to] = kwargs.pop(alias)
    8. \n \n
    9.                     except KeyError:
    10. \n \n
    11.                         pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             return api(*args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         return wrapped  # type: ignore[return-value]
    3. \n \n
    4. \n \n
    5.     return wrapper
    6. \n \n
    7. \n \n
    8. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    alias
    'from'
    api
    <function Elasticsearch.search at 0x000001FA417EB7E0>
    args
    (<Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>,)
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    body_fields
    True
    body_name
    None
    ignore_deprecated_options
    None
    kwargs
    {'index': ['userrelations'],\n 'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    maybe_transport_options
    set()
    parameter_aliases
    {'_source': 'source',\n '_source_excludes': 'source_excludes',\n '_source_includes': 'source_includes',\n 'from': 'from_'}
    rename_to
    'from_'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\__init__.py, line 3733, in search\n \n\n \n
    \n \n
      \n \n
    1.         if version is not None:
    2. \n \n
    3.             __body["version"] = version
    4. \n \n
    5.         if not __body:
    6. \n \n
    7.             __body = None  # type: ignore[assignment]
    8. \n \n
    9.         __headers = {"accept": "application/json"}
    10. \n \n
    11.         if __body is not None:
    12. \n \n
    13.             __headers["content-type"] = "application/json"
    14. \n \n
    \n \n
      \n
    1.         return self.perform_request(  # type: ignore[return-value]\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             "POST", __path, params=__query, headers=__headers, body=__body
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     @_rewrite_parameters(
    7. \n \n
    8.         body_fields=True,
    9. \n \n
    10.     )
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    _Elasticsearch__body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    _Elasticsearch__headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    _Elasticsearch__path
    '/userrelations/_search'
    _Elasticsearch__query
    {}
    aggregations
    None
    aggs
    None
    allow_no_indices
    None
    allow_partial_search_results
    None
    analyze_wildcard
    None
    analyzer
    None
    batched_reduce_size
    None
    ccs_minimize_roundtrips
    None
    collapse
    None
    default_operator
    None
    df
    None
    docvalue_fields
    None
    error_trace
    None
    expand_wildcards
    None
    explain
    None
    ext
    None
    fields
    None
    filter_path
    None
    from_
    None
    highlight
    None
    human
    None
    ignore_throttled
    None
    ignore_unavailable
    None
    index
    ['userrelations']
    indices_boost
    None
    knn
    None
    lenient
    None
    max_concurrent_shard_requests
    None
    min_compatible_shard_node
    None
    min_score
    None
    pit
    None
    post_filter
    None
    pre_filter_shard_size
    None
    preference
    None
    pretty
    None
    profile
    None
    q
    None
    query
    {'match_all': {}}
    rank
    None
    request_cache
    None
    rescore
    None
    rest_total_hits_as_int
    None
    routing
    None
    runtime_mappings
    None
    script_fields
    None
    scroll
    None
    search_after
    None
    search_type
    None
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    seq_no_primary_term
    None
    size
    None
    slice
    None
    sort
    None
    source
    None
    source_excludes
    None
    source_includes
    None
    stats
    None
    stored_fields
    None
    suggest
    {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                  'text': 'mo'}}
    suggest_field
    None
    suggest_mode
    None
    suggest_size
    None
    suggest_text
    None
    terminate_after
    None
    timeout
    None
    track_scores
    None
    track_total_hits
    None
    typed_keys
    None
    version
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\elasticsearch\\_sync\\client\\_base.py, line 320, in perform_request\n \n\n \n
    \n \n
      \n \n
    1.                     error = resp_body.get("error", message)
    2. \n \n
    3.                     if isinstance(error, dict) and "type" in error:
    4. \n \n
    5.                         error = error["type"]
    6. \n \n
    7.                     message = error
    8. \n \n
    9.                 except (ValueError, KeyError, TypeError):
    10. \n \n
    11.                     pass
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(\n                 ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 message=message, meta=meta, body=resp_body
    2. \n \n
    3.             )
    4. \n \n
    5. \n \n
    6.         # 'X-Elastic-Product: Elasticsearch' should be on every 2XX response.
    7. \n \n
    8.         if not self._verified_elasticsearch:
    9. \n \n
    10.             # If the header is set we mark the server as verified.
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    body
    {'query': {'match_all': {}},\n 'suggest': {'username_suggest__completion': {'completion': {'field': 'user.username.suggest'},\n                                              'text': 'mo'}}}
    error
    'search_phase_execution_exception'
    headers
    {'accept': 'application/json', 'content-type': 'application/json'}
    message
    'search_phase_execution_exception'
    meta
    ApiResponseMeta(status=400,\n                http_version='1.1',\n                headers={'X-elastic-product': 'Elasticsearch', 'content-type': 'application/vnd.elasticsearch+json;compatible-with=8', 'content-length': '660'},\n                duration=0.08582758903503418,\n                node=NodeConfig(scheme='http',\n                                host='monte-rosa.liara.cloud',\n                                port=31157,\n                                path_prefix='',\n                                headers={'user-agent': 'elasticsearch-py/8.11.0 (Python/3.12.0; elastic-transport/8.17.1)'},\n                                connections_per_node=10,\n                                request_timeout=10.0,\n                                http_compress=False,\n                                verify_certs=True,\n                                ca_certs=None,\n                                client_cert=None,\n                                client_key=None,\n                                ssl_assert_hostname=None,\n                                ssl_assert_fingerprint=None,\n                                ssl_version=None,\n                                ssl_context=None,\n                                ssl_show_warn=True,\n                                _extras={}))
    method
    'POST'
    mimetype_header_to_compat
    <function BaseClient.perform_request.<locals>.mimetype_header_to_compat at 0x000001FA44681A80>
    params
    {}
    path
    '/userrelations/_search'
    request_headers
    {'authorization': 'Basic <hidden>', 'Accept': 'application/vnd.elasticsearch+json; compatible-with=8', 'Content-Type': 'application/vnd.elasticsearch+json; compatible-with=8'}
    resp_body
    {'error': {'caused_by': {'caused_by': {'reason': 'no mapping found for field '\n                                                 '[user.username.suggest]',\n                                       'type': 'illegal_argument_exception'},\n                         'reason': 'no mapping found for field '\n                                   '[user.username.suggest]',\n                         'type': 'illegal_argument_exception'},\n           'failed_shards': [{'index': 'userrelations',\n                              'node': '_mzUMkjuQSCKCvlwPI4--Q',\n                              'reason': {'reason': 'no mapping found for field '\n                                                   '[user.username.suggest]',\n                                         'type': 'illegal_argument_exception'},\n                              'shard': 0}],\n           'grouped': True,\n           'phase': 'query',\n           'reason': 'all shards failed',\n           'root_cause': [{'reason': 'no mapping found for field '\n                                     '[user.username.suggest]',\n                           'type': 'illegal_argument_exception'}],\n           'type': 'search_phase_execution_exception'},\n 'status': 400}
    self
    <Elasticsearch(['http://monte-rosa.liara.cloud:31157'])>
    target
    '/userrelations/_search'
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
username_suggest__completion
'mo'
\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_15668
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NjQ0NTY3LCJpYXQiOjE3NDc1NTgxNjcsImp0aSI6IjE3YjgwMDlhYmUyODRlNTI4MDc0MTMxM2Y0MzdiMDZlIiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.vLzUcc-4e6UhK1QBpdnahhrcgEyq7sVkRukl6HEq4x8')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/search/api/v1/user_relation_search/suggest/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
'username_suggest__completion=mo'
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'6201225f-6dc8-4964-9bd2-445f6c880ba2'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history2'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001FA446B9510>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:09:53.963850"}, "365": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 401, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 2, "body_response": "{\"detail\":\"Authentication credentials were not provided.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:18:35.987213"}, "366": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 875, "body_response": "BadRequestError(400, 'parsing_exception', \"[match] query doesn't support multiple fields, found [query] and [fields]\")", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:18:42.950933"}, "367": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 857, "body_response": "BadRequestError(400, 'parsing_exception', \"[match] query doesn't support multiple fields, found [query] and [fuzziness]\")", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:19:12.459532"}, "368": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 778, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:19:21.543131"}, "369": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 823, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:20:27.956370"}, "370": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 741, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:25:28.096637"}, "371": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 768, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:25:42.633315"}, "372": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 376, "body_response": "DslBase.get_dsl_class() missing 1 required positional argument: 'name'", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:26:25.779917"}, "373": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 694, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:26:52.043754"}, "374": {"endpoint": "/search/api/v1/user_relation_search/?user=moji", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 835, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:34:09.684233"}, "375": {"endpoint": "/search/api/v1/user_relation_search/?user=moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 432, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:34:14.883794"}, "376": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username=moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 439, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:34:33.675463"}, "377": {"endpoint": "/search/api/v1/user_relation_search/?search=user.username=moji&search=user.national_code=40610805989", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 481, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:34:58.734370"}, "378": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 417, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:36:25.195205"}, "379": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989&search=406108059811", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 453, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:37:03.609053"}, "380": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989&search=406108059812", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 528, "body_response": "{\"count\":3,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:37:14.805406"}, "381": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989&search=406108059813", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 455, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:37:22.742559"}, "382": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989&search=406108059813", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 440, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:37:27.961097"}, "383": {"endpoint": "/search/api/v1/user_relation_search/?search=moji&search=40610805989&search=406108059814", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 491, "body_response": "{\"count\":3,\"next\":null,\"previous\":null,\"facets\":{},\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:37:32.324600"}, "384": {"endpoint": "/search/api/v1/user_elastic/user__username%3Dmoji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1032, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:47:20.189013"}, "385": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 499, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:47:26.219790"}, "386": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 364, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:47:29.080762"}, "387": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 426, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:47:48.250473"}, "388": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 858, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:48:08.142561"}, "389": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 795, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:48:39.035285"}, "390": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 827, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:51:56.681568"}, "391": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 790, "body_response": "BadRequestError(400, 'parsing_exception', '[multi_match] query does not support [user.username]')", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:52:28.720782"}, "392": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 774, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:52:45.383303"}, "393": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 848, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:52:56.354367"}, "394": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 742, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:53:31.484285"}, "395": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 417, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:53:45.520787"}, "396": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 803, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:54:34.320800"}, "397": {"endpoint": "/search/api/v1/user_elastic/09389657326/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 480, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:54:42.776809"}, "398": {"endpoint": "/search/api/v1/user_elastic/09389657326/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 850, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:55:09.051138"}, "399": {"endpoint": "/search/api/v1/user_elastic/09389657326,moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 454, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:55:35.714784"}, "400": {"endpoint": "/search/api/v1/user_elastic/09389657326&moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 586, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:55:47.157194"}, "401": {"endpoint": "/search/api/v1/user_elastic/09389657326&moji&40610805988/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 475, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:56:00.466690"}, "402": {"endpoint": "/search/api/v1/user_elastic/093896/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 374, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:56:19.986736"}, "403": {"endpoint": "/search/api/v1/user_elastic/moj/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 394, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:56:27.199773"}, "404": {"endpoint": "/search/api/v1/user_elastic/mojtaba/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 403, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:56:35.003683"}, "405": {"endpoint": "/search/api/v1/user_elastic/4061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 442, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:56:41.465939"}, "406": {"endpoint": "/search/api/v1/user_elastic/4061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 876, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:57:00.002776"}, "407": {"endpoint": "/search/api/v1/user_elastic/4061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 830, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-18 16:57:15.098784"}, "408": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1219, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:31:44.498909"}, "409": {"endpoint": "/search/api/v1/user_elastic/4061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 417, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:31:51.289769"}, "410": {"endpoint": "/search/api/v1/user_elastic/40610805981/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 419, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:32:01.794116"}, "411": {"endpoint": "/search/api/v1/user_elastic/%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 556, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:32:27.626599"}, "412": {"endpoint": "/search/api/v1/user_elastic/%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 904, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:45:30.308571"}, "413": {"endpoint": "/search/api/v1/user_elastic/%D8%AA%D8%B9%D8%A7%D9%88%D9%86%DB%8C%20%D8%AF%D8%A7%D9%85%D8%AF%D8%A7%D8%B1%D8%A7%D9%86%20%D8%B9%D8%A8%D8%AF%D9%84%20%D8%A2%D8%A8%D8%A7%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 376, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:45:50.772615"}, "414": {"endpoint": "/search/api/v1/user_elastic/4061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 420, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:46:03.012794"}, "415": {"endpoint": "/search/api/v1/user_elastic/40610805981/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 449, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:46:11.585507"}, "416": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 356, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:46:28.312974"}, "417": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 363, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:04.549926"}, "418": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 844, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:25.272829"}, "419": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 351, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:30.925828"}, "420": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 749, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:41.709231"}, "421": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 827, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:50.781563"}, "422": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598%20406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 324, "body_response": "{\"count\":3,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:47:59.451441"}, "423": {"endpoint": "/search/api/v1/user_elastic/mopomk433ddss%204061080598%20406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 380, "body_response": "{\"count\":3,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:48:35.285675"}, "424": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1008, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:51:09.569198"}, "425": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 398, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:51:18.778367"}, "426": {"endpoint": "/search/api/v1/user_elastic/%D9%80/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 410, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:51:37.196247"}, "427": {"endpoint": "/search/api/v1/user_elastic/J/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 366, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:51:41.731619"}, "428": {"endpoint": "/search/api/v1/user_elastic/J%20housh/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 573, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5w6\",\"mobile\":\"093896573264\",\"national_code\":\"40610805984\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:51:57.850183"}, "429": {"endpoint": "/search/api/v1/user_elastic/U%20housh/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 351, "body_response": "{\"count\":5,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:52:22.603648"}, "430": {"endpoint": "/search/api/v1/user_elastic/U%20housh/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 738, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:53:24.564094"}, "431": {"endpoint": "/search/api/v1/user_elastic/housh/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 397, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:53:29.829283"}, "432": {"endpoint": "/search/api/v1/user_elastic/housh/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 800, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:54:08.647119"}, "433": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 407, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:54:12.690028"}, "434": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 781, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:54:42.989597"}, "435": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 777, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:55:49.227387"}, "436": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 781, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:55:59.406841"}, "437": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 402, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:56:09.147631"}, "438": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 344, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:57:08.406135"}, "439": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 324, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:57:17.552292"}, "440": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 805, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:57:22.533080"}, "441": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 738, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:58:26.337776"}, "442": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 408, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 08:58:33.188108"}, "443": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 736, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:02:30.772719"}, "444": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 360, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:02:39.065544"}, "445": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4304, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:02:59.975545"}, "446": {"endpoint": "/search/api/v1/user_elastic/moji%204061080598/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 372, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:03:04.519921"}, "447": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:03:19.881841"}, "448": {"endpoint": "/search/api/v1/user_elastic/moji%2009389657326/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 700, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:04:10.692039"}, "449": {"endpoint": "/search/api/v1/user_elastic/moji&09389657326/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:04:36.179932"}, "450": {"endpoint": "/search/api/v1/user_elastic/moji&09389657326/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 817, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:05.518659"}, "451": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 343, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:24.761919"}, "452": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 59, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:41.776476"}, "453": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 365, "body_response": "{\"count\":4,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:42.659814"}, "454": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:48.480184"}, "455": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 347, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:05:49.330198"}, "456": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 8, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:06:10.751153"}, "457": {"endpoint": "/search/api/v1/user_elastic/%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 346, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:06:11.608671"}, "458": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812]\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812],\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:11.979421"}, "459": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 444, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:12.954229"}, "460": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 12, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812]\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812],\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:30.889966"}, "461": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 313, "body_response": "'Bool' object is not iterable", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:31.702644"}, "462": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 6, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812]\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812],\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:48.617827"}, "463": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 249, "body_response": "'Bool' object is not iterable", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:07:49.366272"}, "464": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 12, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812]\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/$\n [name='user_relation_search-list']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-list']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest/$\n [name='user_relation_search-functional-suggest']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/functional_suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-functional-suggest']\n \n
  20. \n \n
  21. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest/$\n [name='user_relation_search-suggest']\n \n
  22. \n \n
  23. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/suggest\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-suggest']\n \n
  24. \n \n
  25. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)/$\n [name='user_relation_search-detail']\n \n
  26. \n \n
  27. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n ^user_relation_search/(?P<id>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$\n [name='user_relation_search-detail']\n \n
  28. \n \n
  29. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  30. \n \n
  31. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  32. \n \n
  33. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  34. \n \n
  35. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  36. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812],\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:08:04.234530"}, "465": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 651, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:08:05.399424"}, "466": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 12, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812]\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/[\u062e\u0631\u0645 \u0622\u0628\u0627\u062f&\u0628\u0631\u0648\u062c\u0631\u062f&J&406108059812],\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:18:30.276766"}, "467": {"endpoint": "/search/api/v1/user_elastic/%5B%D8%AE%D8%B1%D9%85%20%D8%A2%D8%A8%D8%A7%D8%AF&%D8%A8%D8%B1%D9%88%D8%AC%D8%B1%D8%AF&J&406108059812%5D/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 881, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssss\",\"mobile\":\"093896573263\",\"national_code\":\"40610805983\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:18:31.669328"}, "468": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 12, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:19:51.411909"}, "469": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 678, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:19:52.609013"}, "470": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji&406108059812\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji&406108059812
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji&406108059812,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:20:03.871013"}, "471": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 373, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:20:04.751489"}, "472": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 11, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji&406108059812\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji&406108059812
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji&406108059812,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:28:29.793457"}, "473": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 785, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:28:31.082371"}, "474": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 18, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji&406108059812\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji&406108059812
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji&406108059812,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:36:19.521847"}, "475": {"endpoint": "/search/api/v1/user_elastic/moji&406108059812/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 895, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:36:20.934158"}, "476": {"endpoint": "/search/api/v1/user_elastic/406108059812%20%DA%A9%D8%B1%D8%AC", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/406108059812 \u06a9\u0631\u062c\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/406108059812%20%DA%A9%D8%B1%D8%AC
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/406108059812 \u06a9\u0631\u062c,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:37:31.806833"}, "477": {"endpoint": "/search/api/v1/user_elastic/406108059812%20%DA%A9%D8%B1%D8%AC/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:37:32.680223"}, "478": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u06a9\u0631\u062c\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u06a9\u0631\u062c,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:08.530553"}, "479": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 334, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq21\",\"mobile\":\"093896573268\",\"national_code\":\"40610805988\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq921\",\"mobile\":\"093896573267\",\"national_code\":\"40610805987\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1921\",\"mobile\":\"093896573266\",\"national_code\":\"40610805986\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs56\",\"mobile\":\"093896573265\",\"national_code\":\"40610805985\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:09.373028"}, "480": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u06a9\u0631\u062c U\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u06a9\u0631\u062c U,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:17.748449"}, "481": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 340, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"12258755566\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"1225875556644\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"15556644\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"1225855\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:18.592165"}, "482": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U%20mopomk433ddss", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\u06a9\u0631\u062c U mopomk433ddss\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U%20mopomk433ddss
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/\u06a9\u0631\u062c U mopomk433ddss,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:35.110853"}, "483": {"endpoint": "/search/api/v1/user_elastic/%DA%A9%D8%B1%D8%AC%20U%20mopomk433ddss/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 433, "body_response": "{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mopomk433ddss\",\"mobile\":\"093896573261\",\"national_code\":\"40610805981\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"1225875556644\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"mopomk433dd\",\"mobile\":\"093896573262\",\"national_code\":\"40610805982\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"12258755566\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"15556644\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjs5ssq1\",\"mobile\":\"093896573269\",\"national_code\":\"40610805989\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"1225855\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"housh\",\"mobile\":\"\",\"national_code\":\"\",\"first_name\":\"\",\"last_name\":\"\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjssswssq\",\"mobile\":\"0938965732612\",\"national_code\":\"406108059812\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5ssq\",\"mobile\":\"0938965732614\",\"national_code\":\"406108059814\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{}},{\"user\":{\"username\":\"modjasssw5s5sq\",\"mobile\":\"0938965732615\",\"national_code\":\"406108059815\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}},{\"user\":{\"username\":\"modjasss4w5s5sq\",\"mobile\":\"0938965732617\",\"national_code\":\"406108059816\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:38:36.063091"}, "484": {"endpoint": "/search/api/v1/user_elastic/'", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 12, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/'\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/'
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/',\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:41:20.046359"}, "485": {"endpoint": "/search/api/v1/user_elastic/'/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 759, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:41:21.322568"}, "486": {"endpoint": "/search/api/v1/user_elastic/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:41:24.165975"}, "487": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 9, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:46:25.036118"}, "488": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 754, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:46:26.307889"}, "489": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 11, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  18. \n \n
  19. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  20. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:48:17.508181"}, "490": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 750, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 09:48:18.375487", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "491": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 13, "body_response": "\n\n\n \n Page not found at /herd/web/api/v1/herd/\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd\n \n \n web/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n
  16. \n \n
  17. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  18. \n \n
\n

\n \n The current path, herd/web/api/v1/herd/,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:13:22.904878"}, "492": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 329, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:13:36.451101", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "493": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 11, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:17:21.662858"}, "494": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 860, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:17:22.642663", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "495": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1327, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 26, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:08:01 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001A4F7FCA810>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001A4F7E9CEA0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001A4F7FCA810>
    wrapped_callback
    <function HerdViewSet at 0x000001A4F7E9CEA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x000001A4F7E9CF40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x000001A4F7B49A80>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001A4F7E9DA80>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x000001A4F7E89460>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 26, in create\n \n\n \n
    \n \n
      \n \n
    1.         """ create herd with user """
    2. \n \n
    3.         if 'user' in request.data.keys():
    4. \n \n
    5.             user = CustomOperations().custom_create(
    6. \n \n
    7.                 request=request,
    8. \n \n
    9.                 view=UserViewSet(),
    10. \n \n
    11.                 data_key='user'
    12. \n \n
    13.             )
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001A4F82EAD50>
    user
    {'username': 'mopomk433ddssrr', 'password': 'pbkdf2_sha256$720000$PPuuCf9ZpVLVljsCBYMPvi$va9tekbrH8ttBXsgjXXmNjk7gmrcQ/SqUxIqwy8nsnA=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1236'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001A4F82EBD90>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:38:01.704454", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "496": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1271, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:09:22 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001896040D300>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>
    wrapped_callback
    <function HerdViewSet at 0x000001896040D300>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x00000189603E6FC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x00000189600B9BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001896040DBC0>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x00000189603F37A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create\n \n\n \n
    \n \n
      \n \n
    1.         if 'user' in request.data.keys():
    2. \n \n
    3.             user = CustomOperations().custom_create(
    4. \n \n
    5.                 request=request,
    6. \n \n
    7.                 view=UserViewSet(),
    8. \n \n
    9.                 data_key='user'
    10. \n \n
    11.             )
    12. \n \n
    13.             print(user)
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000018960710620>
    user
    {'username': 'mopomk433ddssrr', 'password': 'pbkdf2_sha256$720000$U1jMxJ9q5JCPbkqVWbyytg$z7DBdtDV6fiqciRJvq4+woNE4j/W17MlofA7C8qr9T4=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1236'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000189605651E0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:39:22.818803", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "497": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1259, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:09:45 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001896040D300>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>
    wrapped_callback
    <function HerdViewSet at 0x000001896040D300>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x00000189603E6FC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x00000189600B9BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001896040DBC0>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x00000189603F37A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create\n \n\n \n
    \n \n
      \n \n
    1.         if 'user' in request.data.keys():
    2. \n \n
    3.             user = CustomOperations().custom_create(
    4. \n \n
    5.                 request=request,
    6. \n \n
    7.                 view=UserViewSet(),
    8. \n \n
    9.                 data_key='user'
    10. \n \n
    11.             )
    12. \n \n
    13.             print(user)
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608D5670>
    user
    {'username': 'mopomk433ddssrr', 'password': 'pbkdf2_sha256$720000$OXDZ0O8Nrq4e1kqyIRuGpR$X5EcQ2EzyPnyZCRMFPcbxTvbTKmGyWsZUZPa4Y9+ZzQ=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1236'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000018960711A80>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:39:45.822487", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "498": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1232, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:10:35 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001896040D300>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>
    wrapped_callback
    <function HerdViewSet at 0x000001896040D300>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x00000189603E6FC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x00000189600B9BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001896040DBC0>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x00000189603F37A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create\n \n\n \n
    \n \n
      \n \n
    1.         if 'user' in request.data.keys():
    2. \n \n
    3.             user = CustomOperations().custom_create(
    4. \n \n
    5.                 request=request,
    6. \n \n
    7.                 view=UserViewSet(),
    8. \n \n
    9.                 data_key='user'
    10. \n \n
    11.             )
    12. \n \n
    13.             print(user)
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608A4DD0>
    user
    {'username': 'mopomk433ddssrrt', 'password': 'pbkdf2_sha256$720000$pCA9AENVzBUpZTEApYAq1C$ts7Xrc5CSIOTTIDbcp0AU0P+Q/j7YFx9fY+N1ctPDQo=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1237'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000189608A5ED0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:40:35.358769", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "499": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1262, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:11:31 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001896040D300>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000018960588650>
    wrapped_callback
    <function HerdViewSet at 0x000001896040D300>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x00000189603E6FC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x00000189600B9BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001896040DBC0>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x00000189603F37A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create\n \n\n \n
    \n \n
      \n \n
    1.         if 'user' in request.data.keys():
    2. \n \n
    3.             user = CustomOperations().custom_create(
    4. \n \n
    5.                 request=request,
    6. \n \n
    7.                 view=UserViewSet(),
    8. \n \n
    9.                 data_key='user'
    10. \n \n
    11.             )
    12. \n \n
    13.             print(user)
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000189608FFF20>
    user
    {'username': 'mopomk433', 'password': 'pbkdf2_sha256$720000$2IEKHrLDF9r3BDLnGJ8MyU$J8tspt22PckL4hnZF1T7j6WB7PLXBprKHKLhRPM0qXo=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1230'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000189608DFD60>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:41:31.905207", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "500": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1810, "body_response": "\n\n\n \n \n ProgrammingError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

ProgrammingError\n at /herd/web/api/v1/herd/

\n
column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n                                                             ^\n
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:ProgrammingError
Exception Value:
column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n                                                             ^\n
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:11:54 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>})
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n ^\n) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001FFA1C4C0B0>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001FFA1AF5B20>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001FFA1C4C0B0>
    wrapped_callback
    <function HerdViewSet at 0x000001FFA1AF5B20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x000001FFA1AF7560>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>}
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    exception_handler
    <function exception_handler at 0x000001FFA17C9300>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x000001FFA1B21260>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x000001FFA1B052B0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 32, in create\n \n\n \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.             print(user)
    4. \n \n
    5.             owner = user['id']
    6. \n \n
    7.             request.data.update({'owner': owner})
    8. \n \n
    9. \n \n
    10.         serializer = self.serializer_class(data=request.data)
    11. \n \n
    12.         if serializer.is_valid():
    13. \n \n
    \n \n
      \n
    1.             serializer.save()\n                ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    2. \n \n
    3.         else:
    4. \n \n
    5.             return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    owner
    185
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001FFA1F62180>
    serializer
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 185}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    user
    {'id': 185, 'username': 'mopomk433', 'password': 'pbkdf2_sha256$720000$6iJ8oIuva6hWhaoqM5ddO8$+3cPg2EEuD2vctGgxhE/AzNxUkvQCK2OCNt2Xl6TvTo=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 210, in save\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if self.instance is not None:
    3. \n \n
    4.             self.instance = self.update(self.instance, validated_data)
    5. \n \n
    6.             assert self.instance is not None, (
    7. \n \n
    8.                 '`update()` did not return an object instance.'
    9. \n \n
    10.             )
    11. \n \n
    12.         else:
    13. \n \n
    \n \n
      \n
    1.             self.instance = self.create(validated_data)\n                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             assert self.instance is not None, (
    2. \n \n
    3.                 '`create()` did not return an object instance.'
    4. \n \n
    5.             )
    6. \n \n
    7. \n \n
    8.         return self.instance
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {}
    self
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 185}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    validated_data
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 991, in create\n \n\n \n
    \n \n
      \n \n
    1.         info = model_meta.get_field_info(ModelClass)
    2. \n \n
    3.         many_to_many = {}
    4. \n \n
    5.         for field_name, relation_info in info.relations.items():
    6. \n \n
    7.             if relation_info.to_many and (field_name in validated_data):
    8. \n \n
    9.                 many_to_many[field_name] = validated_data.pop(field_name)
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             instance = ModelClass._default_manager.create(**validated_data)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TypeError:
    2. \n \n
    3.             tb = traceback.format_exc()
    4. \n \n
    5.             msg = (
    6. \n \n
    7.                 'Got a `TypeError` when calling `%s.%s.create()`. '
    8. \n \n
    9.                 'This may be because you have a writable field on the '
    10. \n \n
    11.                 'serializer class that is not a valid argument to '
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ModelClass
    <class 'apps.herd.models.Herd'>
    field_name
    'live_stock_herd'
    info
    FieldInfo(pk=<django.db.models.fields.BigAutoField: id>, fields={'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'name': <django.db.models.fields.CharField: name>, 'photo': <django.db.models.fields.CharField: photo>, 'code': <django.db.models.fields.CharField: code>, 'heavy_livestock_number': <django.db.models.fields.BigIntegerField: heavy_livestock_number>, 'light_livestock_number': <django.db.models.fields.BigIntegerField: light_livestock_number>, 'heavy_livestock_quota': <django.db.models.fields.BigIntegerField: heavy_livestock_quota>, 'light_livestock_quota': <django.db.models.fields.BigIntegerField: light_livestock_quota>, 'postal': <django.db.models.fields.CharField: postal>, 'institution': <django.db.models.fields.CharField: institution>, 'epidemiologic': <django.db.models.fields.CharField: epidemiologic>, 'latitude': <django.db.models.fields.DecimalField: latitude>, 'longitude': <django.db.models.fields.DecimalField: longitude>, 'unit_unique_id': <django.db.models.fields.CharField: unit_unique_id>, 'activity': <django.db.models.fields.CharField: activity>, 'activity_state': <django.db.models.fields.BooleanField: activity_state>, 'operating_license_state': <django.db.models.fields.BooleanField: operating_license_state>, 'capacity': <django.db.models.fields.IntegerField: capacity>}, forward_relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'owner': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: owner>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'cooperative': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: cooperative>, related_model=<class 'apps.authentication.models.Organization'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'province': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: province>, related_model=<class 'apps.authentication.models.Province'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'city': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: city>, related_model=<class 'apps.authentication.models.City'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'contractor': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: contractor>, related_model=<class 'apps.authentication.models.Organization'>, to_many=False, to_field='id', has_through_model=False, reverse=False)}, reverse_relations={'live_stock_herd': RelationInfo(model_field=None, related_model=<class 'apps.livestock.models.LiveStock'>, to_many=True, to_field='id', has_through_model=False, reverse=True)}, fields_and_pk={'pk': <django.db.models.fields.BigAutoField: id>, 'id': <django.db.models.fields.BigAutoField: id>, 'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'name': <django.db.models.fields.CharField: name>, 'photo': <django.db.models.fields.CharField: photo>, 'code': <django.db.models.fields.CharField: code>, 'heavy_livestock_number': <django.db.models.fields.BigIntegerField: heavy_livestock_number>, 'light_livestock_numbe\u2026 <trimmed 6783 bytes string>
    many_to_many
    {}
    relation_info
    RelationInfo(model_field=None, related_model=<class 'apps.livestock.models.LiveStock'>, to_many=True, to_field='id', has_through_model=False, reverse=True)
    self
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 185}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    validated_data
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    name
    'create'
    self
    <django.db.models.manager.Manager object at 0x000001FFA1B05EB0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 677, in create\n \n\n \n
    \n \n
      \n \n
    1.             raise ValueError(
    2. \n \n
    3.                 "The following fields do not exist in this model: %s"
    4. \n \n
    5.                 % ", ".join(reverse_one_to_one_fields)
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.         obj = self.model(**kwargs)
    11. \n \n
    12.         self._for_write = True
    13. \n \n
    \n \n
      \n
    1.         obj.save(force_insert=True, using=self.db)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return obj
    2. \n \n
    3. \n \n
    4.     async def acreate(self, **kwargs):
    5. \n \n
    6.         return await sync_to_async(self.create)(**kwargs)
    7. \n \n
    8. \n \n
    9.     def _prepare_for_bulk_create(self, objs):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    obj
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    reverse_one_to_one_fields
    frozenset()
    self
    Error in formatting: ProgrammingError: column herd_herd.cooperative_id does not exist\nLINE 1: ...fo", "herd_herd"."trash", "herd_herd"."owner_id", "herd_herd...\n                                                             ^\n
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\models.py, line 74, in save\n \n\n \n
    \n \n
      \n \n
    1.     operating_license_state = models.BooleanField(default=False)
    2. \n \n
    3.     capacity = models.IntegerField(default=0)
    4. \n \n
    5. \n \n
    6.     def __str__(self):
    7. \n \n
    8.         return f'{self.name}-{self.code}'
    9. \n \n
    10. \n \n
    11.     def save(self, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         super(Herd, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.herd.models.Herd'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\models.py, line 37, in save\n \n\n \n
    \n \n
      \n \n
    1.     def save(self, *args, **kwargs):
    2. \n \n
    3.         user = get_current_user()  # get user object
    4. \n \n
    5.         self.modified_by = user
    6. \n \n
    7.         if not self.creator_info:
    8. \n \n
    9.             self.created_by = user
    10. \n \n
    11.             self.creator_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    12. \n \n
    13.         self.modifier_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    14. \n \n
    \n \n
      \n
    1.         super(BaseModel, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class MobileTest(BaseModel):
    4. \n \n
    5.     latitude = models.DecimalField(max_digits=22, decimal_places=16)
    6. \n \n
    7.     longitude = models.DecimalField(max_digits=22, decimal_places=16)
    8. \n \n
    9.     count = models.IntegerField(default=0)
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.core.models.BaseModel'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    user
    <User: moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 814, in save\n \n\n \n
    \n \n
      \n \n
    1.             for field in self._meta.concrete_fields:
    2. \n \n
    3.                 if not field.primary_key and not hasattr(field, "through"):
    4. \n \n
    5.                     field_names.add(field.attname)
    6. \n \n
    7.             loaded_fields = field_names.difference(deferred_fields)
    8. \n \n
    9.             if loaded_fields:
    10. \n \n
    11.                 update_fields = frozenset(loaded_fields)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         self.save_base(\n             ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             using=using,
    2. \n \n
    3.             force_insert=force_insert,
    4. \n \n
    5.             force_update=force_update,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.         )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    deferred_fields
    set()
    force_insert
    True
    force_update
    False
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 901, in save_base\n \n\n \n
    \n \n
      \n \n
    1.             parent_inserted = False
    2. \n \n
    3.             if not raw:
    4. \n \n
    5.                 # Validate force insert only when parents are inserted.
    6. \n \n
    7.                 force_insert = self._validate_force_insert(force_insert)
    8. \n \n
    9.                 parent_inserted = self._save_parents(
    10. \n \n
    11.                     cls, using, update_fields, force_insert
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             updated = self._save_table(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 raw,
    2. \n \n
    3.                 cls,
    4. \n \n
    5.                 force_insert or parent_inserted,
    6. \n \n
    7.                 force_update,
    8. \n \n
    9.                 using,
    10. \n \n
    11.                 update_fields,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.herd.models.Herd'>
    context_manager
    <contextlib._GeneratorContextManager object at 0x000001FFA1E4C1D0>
    force_insert
    (<class 'apps.herd.models.Herd'>,)
    force_update
    False
    meta
    <Options for Herd>
    origin
    <class 'apps.herd.models.Herd'>
    parent_inserted
    False
    raw
    False
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1059, in _save_table\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             fields = [
    4. \n \n
    5.                 f
    6. \n \n
    7.                 for f in meta.local_concrete_fields
    8. \n \n
    9.                 if not f.generated and (pk_set or f is not meta.auto_field)
    10. \n \n
    11.             ]
    12. \n \n
    13.             returning_fields = meta.db_returning_fields
    14. \n \n
    \n \n
      \n
    1.             results = self._do_insert(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 cls._base_manager, using, fields, returning_fields, raw
    2. \n \n
    3.             )
    4. \n \n
    5.             if results:
    6. \n \n
    7.                 for value, field in zip(results[0], returning_fields):
    8. \n \n
    9.                     setattr(self, field.attname, value)
    10. \n \n
    11.         return updated
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.herd.models.Herd'>
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    force_insert
    (<class 'apps.herd.models.Herd'>,)
    force_update
    False
    meta
    <Options for Herd>
    non_pks
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    pk_set
    False
    pk_val
    None
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    updated
    False
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1100, in _do_insert\n \n\n \n
    \n \n
      \n \n
    1.         return filtered._update(values) > 0
    2. \n \n
    3. \n \n
    4.     def _do_insert(self, manager, using, fields, returning_fields, raw):
    5. \n \n
    6.         """
    7. \n \n
    8.         Do an INSERT. If returning_fields is defined then this method should
    9. \n \n
    10.         return the newly created data for the model.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         return manager._insert(\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             [self],
    2. \n \n
    3.             fields=fields,
    4. \n \n
    5.             returning_fields=returning_fields,
    6. \n \n
    7.             using=using,
    8. \n \n
    9.             raw=raw,
    10. \n \n
    11.         )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    manager
    <django.db.models.manager.Manager object at 0x000001FFA1F88770>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ([<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>],)
    kwargs
    {'fields': [<django.db.models.fields.DateTimeField: create_date>,\n            <django.db.models.fields.DateTimeField: modify_date>,\n            <django.db.models.fields.related.ForeignKey: created_by>,\n            <django.db.models.fields.related.ForeignKey: modified_by>,\n            <django.db.models.fields.CharField: creator_info>,\n            <django.db.models.fields.CharField: modifier_info>,\n            <django.db.models.fields.BooleanField: trash>,\n            <django.db.models.fields.related.ForeignKey: owner>,\n            <django.db.models.fields.related.ForeignKey: cooperative>,\n            <django.db.models.fields.CharField: name>,\n            <django.db.models.fields.CharField: photo>,\n            <django.db.models.fields.CharField: code>,\n            <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n            <django.db.models.fields.BigIntegerField: light_livestock_number>,\n            <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n            <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n            <django.db.models.fields.related.ForeignKey: province>,\n            <django.db.models.fields.related.ForeignKey: city>,\n            <django.db.models.fields.CharField: postal>,\n            <django.db.models.fields.CharField: institution>,\n            <django.db.models.fields.CharField: epidemiologic>,\n            <django.db.models.fields.related.ForeignKey: contractor>,\n            <django.db.models.fields.DecimalField: latitude>,\n            <django.db.models.fields.DecimalField: longitude>,\n            <django.db.models.fields.CharField: unit_unique_id>,\n            <django.db.models.fields.CharField: activity>,\n            <django.db.models.fields.BooleanField: activity_state>,\n            <django.db.models.fields.BooleanField: operating_license_state>,\n            <django.db.models.fields.IntegerField: capacity>],\n 'raw': False,\n 'returning_fields': [<django.db.models.fields.BigAutoField: id>],\n 'using': 'default'}
    name
    '_insert'
    self
    <django.db.models.manager.Manager object at 0x000001FFA1F88770>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 1845, in _insert\n \n\n \n
    \n \n
      \n \n
    1.         query = sql.InsertQuery(
    2. \n \n
    3.             self.model,
    4. \n \n
    5.             on_conflict=on_conflict,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.             unique_fields=unique_fields,
    10. \n \n
    11.         )
    12. \n \n
    13.         query.insert_values(fields, objs, raw=raw)
    14. \n \n
    \n \n
      \n
    1.         return query.get_compiler(using=using).execute_sql(returning_fields)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _insert.alters_data = True
    3. \n \n
    4.     _insert.queryset_only = False
    5. \n \n
    6. \n \n
    7.     def _batched_insert(
    8. \n \n
    9.         self,
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    objs
    [<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>]
    on_conflict
    None
    query
    <django.db.models.sql.subqueries.InsertQuery object at 0x000001FFA1E4DD60>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    Error in formatting: ProgrammingError: column herd_herd.cooperative_id does not exist\nLINE 1: ...fo", "herd_herd"."trash", "herd_herd"."owner_id", "herd_herd...\n                                                             ^\n
    unique_fields
    None
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\sql\\compiler.py, line 1822, in execute_sql\n \n\n \n
    \n \n
      \n \n
    1.             and len(self.query.objs) != 1
    2. \n \n
    3.             and not self.connection.features.can_return_rows_from_bulk_insert
    4. \n \n
    5.         )
    6. \n \n
    7.         opts = self.query.get_meta()
    8. \n \n
    9.         self.returning_fields = returning_fields
    10. \n \n
    11.         with self.connection.cursor() as cursor:
    12. \n \n
    13.             for sql, params in self.as_sql():
    14. \n \n
    \n \n
      \n
    1.                 cursor.execute(sql, params)\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if not self.returning_fields:
    2. \n \n
    3.                 return []
    4. \n \n
    5.             if (
    6. \n \n
    7.                 self.connection.features.can_return_rows_from_bulk_insert
    8. \n \n
    9.                 and len(self.query.objs) > 1
    10. \n \n
    11.             ):
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cursor
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    opts
    <Options for Herd>
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <SQLInsertCompiler model=Herd connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 122, in execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class CursorDebugWrapper(CursorWrapper):
    4. \n \n
    5.     # XXX callproc isn't instrumented at this time.
    6. \n \n
    7. \n \n
    8.     def execute(self, sql, params=None):
    9. \n \n
    10.         with self.debug_sql(sql, params, use_last_executed_query=True):
    11. \n \n
    \n \n
      \n
    1.             return super().execute(sql, params)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def executemany(self, sql, param_list):
    3. \n \n
    4.         with self.debug_sql(sql, param_list, many=True):
    5. \n \n
    6.             return super().executemany(sql, param_list)
    7. \n \n
    8. \n \n
    9.     @contextmanager
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'django.db.backends.utils.CursorDebugWrapper'>
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 79, in execute\n \n\n \n
    \n \n
      \n \n
    1.             elif kparams is None:
    2. \n \n
    3.                 return self.cursor.callproc(procname, params)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 params = params or ()
    8. \n \n
    9.                 return self.cursor.callproc(procname, params, kparams)
    10. \n \n
    11. \n \n
    12.     def execute(self, sql, params=None):
    13. \n \n
    \n \n
      \n
    1.         return self._execute_with_wrappers(\n                   
      \u2026
    2. \n
    \n \n
      \n \n
    1.             sql, params, many=False, executor=self._execute
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def executemany(self, sql, param_list):
    7. \n \n
    8.         return self._execute_with_wrappers(
    9. \n \n
    10.             sql, param_list, many=True, executor=self._executemany
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 92, in _execute_with_wrappers\n \n\n \n
    \n \n
      \n \n
    1.             sql, param_list, many=True, executor=self._executemany
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def _execute_with_wrappers(self, sql, params, many, executor):
    7. \n \n
    8.         context = {"connection": self.db, "cursor": self}
    9. \n \n
    10.         for wrapper in reversed(self.db.execute_wrappers):
    11. \n \n
    12.             executor = functools.partial(wrapper, executor)
    13. \n \n
    \n \n
      \n
    1.         return executor(sql, params, many, context)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>}
    executor
    <bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>>
    many
    False
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 100, in _execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    12.         self.db.validate_no_broken_transaction()
    13. \n \n
    \n \n
      \n
    1.         with self.db.wrap_database_errors:\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if params is None:
    2. \n \n
    3.                 # params default might be backend specific.
    4. \n \n
    5.                 return self.cursor.execute(sql)
    6. \n \n
    7.             else:
    8. \n \n
    9.                 return self.cursor.execute(sql, params)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>})
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\utils.py, line 91, in __exit__\n \n\n \n
    \n \n
      \n \n
    1.             db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
    2. \n \n
    3.             if issubclass(exc_type, db_exc_type):
    4. \n \n
    5.                 dj_exc_value = dj_exc_type(*exc_value.args)
    6. \n \n
    7.                 # Only set the 'errors_occurred' flag for errors that may make
    8. \n \n
    9.                 # the connection unusable.
    10. \n \n
    11.                 if dj_exc_type not in (DataError, IntegrityError):
    12. \n \n
    13.                     self.wrapper.errors_occurred = True
    14. \n \n
    \n \n
      \n
    1.                 raise dj_exc_value.with_traceback(traceback) from exc_value\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __call__(self, func):
    3. \n \n
    4.         # Note that we are intentionally not using @wraps here for performance
    5. \n \n
    6.         # reasons. Refs #21109.
    7. \n \n
    8.         def inner(*args, **kwargs):
    9. \n \n
    10.             with self:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    db_exc_type
    <class 'psycopg2.ProgrammingError'>
    dj_exc_type
    <class 'django.db.utils.ProgrammingError'>
    dj_exc_value
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    exc_type
    <class 'psycopg2.errors.UndefinedColumn'>
    exc_value
    UndefinedColumn('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    self
    <django.db.utils.DatabaseErrorWrapper object at 0x000001FFA1C79FA0>
    traceback
    <traceback object at 0x000001FFA1E7A200>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>})
    params
    (datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 11, 54, 460567, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 185,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x000001FFA1E4C800>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1230'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001FFA1F62AD0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:41:54.872663", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "501": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1326, "body_response": "\n\n\n \n \n AttributeError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

AttributeError\n at /herd/web/api/v1/herd/

\n
'UserSerializer' object has no attribute 'error'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:AttributeError
Exception Value:
'UserSerializer' object has no attribute 'error'
Exception Location:D:\\Project\\Rasaddam_Backend\\common\\tools.py, line 32, in custom_create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:13:00 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'UserSerializer' object has no attribute 'error'")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000022E7D0BECF0>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x0000022E7CF95300>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000022E7D0BECF0>
    wrapped_callback
    <function HerdViewSet at 0x0000022E7CF95300>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x0000022E7CF67600>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>}
    exc
    AttributeError("'UserSerializer' object has no attribute 'error'")
    exception_handler
    <function exception_handler at 0x0000022E7CC39BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AttributeError("'UserSerializer' object has no attribute 'error'")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x0000022E7CF95C60>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x0000022E7CF73920>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 21, in create\n \n\n \n
    \n \n
      \n \n
    1.     queryset = Herd.objects.all()
    2. \n \n
    3.     serializer_class = HerdSerializer
    4. \n \n
    5. \n \n
    6.     @transaction.atomic
    7. \n \n
    8.     def create(self, request, *args, **kwargs):
    9. \n \n
    10.         """ create herd with user """
    11. \n \n
    12.         if 'user' in request.data.keys():
    13. \n \n
    \n \n
      \n
    1.             user = CustomOperations().custom_create(\n                       
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 request=request,
    2. \n \n
    3.                 view=UserViewSet(),
    4. \n \n
    5.                 data_key='user'
    6. \n \n
    7.             )
    8. \n \n
    9.             print(user)
    10. \n \n
    11.             owner = user['id']
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000022E7D0E64E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\common\\tools.py, line 32, in custom_create\n \n\n \n
    \n \n
      \n \n
    1.             view_data[data_key].update({'user': user.id})  # noqa
    2. \n \n
    3.         if additional_data:
    4. \n \n
    5.             view_data[data_key].update(additional_data)
    6. \n \n
    7.         serializer = view.serializer_class(data=view_data[data_key])  # noqa
    8. \n \n
    9.         serializer.is_valid(raise_exception=True)
    10. \n \n
    11.         view.perform_create(serializer)  # noqa
    12. \n \n
    13.         headers = view.get_success_headers(serializer.data)  # noqa
    14. \n \n
    \n \n
      \n
    1.         return serializer.error\n                   ^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def custom_update(  # noqa
    3. \n \n
    4.             self,
    5. \n \n
    6.             user: object = None,
    7. \n \n
    8.             request: object = None,
    9. \n \n
    10.             obj_id: object = None,
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    additional_data
    None
    data_key
    'user'
    headers
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <common.tools.CustomOperations object at 0x0000022E7CEEFE30>
    serializer
    UserSerializer(data={'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}):\n    id = IntegerField(label='ID', read_only=True)\n    username = CharField(help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, validators=[<django.contrib.auth.validators.UnicodeUsernameValidator object>, <UniqueValidator(queryset=User.objects.all())>])\n    password = CharField(max_length=128)\n    first_name = CharField(allow_blank=True, max_length=150, required=False)\n    last_name = CharField(allow_blank=True, max_length=150, required=False)\n    is_active = BooleanField(help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', label='Active', required=False)\n    mobile = CharField(max_length=18)\n    phone = CharField(allow_null=True, max_length=18, required=False)\n    national_code = CharField(max_length=16)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    nationality = CharField(allow_null=True, max_length=20, required=False)\n    ownership = ChoiceField(choices=[('N', 'Natural'), ('L', 'Legal')], help_text='N is natural & L is legal', required=False)\n    address = CharField(allow_null=True, max_length=1000, required=False, style={'base_template': 'textarea.html'})\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    otp_status = BooleanField(required=False)
    user
    None
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000022E7D282D80>
    view_data
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': 1,\n 'code': '12542365',\n 'contractor': 22,\n 'cooperative': 2,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': 1.22354865,\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': 2.3658974,\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': 1,\n 'unit_unique_id': 784512895623,\n 'user': {'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc',\n          'birthdate': '2025-05-07 10:47:24.520088 +00:00',\n          'city': 1,\n          'first_name': 'mojtaba',\n          'is_active': True,\n          'is_herd_owner': False,\n          'last_name': 'zolfaghari',\n          'mobile': '09389657326',\n          'national_code': '4061080598',\n          'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc',\n          'otp_status': False,\n          'ownership': 'N',\n          'password': 'moji1234s',\n          'phone': '33322627',\n          'photo': 'ssss',\n          'province': 1,\n          'username': 'mopomk433'}}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1230'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000022E7D0BFB50>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:43:00.921267", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "502": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1268, "body_response": "\n\n\n \n \n KeyError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

KeyError\n at /herd/web/api/v1/herd/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:13:14 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x00000212BEF6A9F0>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x00000212BEE176A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x00000212BEF6A9F0>
    wrapped_callback
    <function HerdViewSet at 0x00000212BEE176A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x00000212BEE171A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x00000212BEAE9300>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x00000212BEE493A0>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x00000212BEE28D40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 27, in create\n \n\n \n
    \n \n
      \n \n
    1.         if 'user' in request.data.keys():
    2. \n \n
    3.             user = CustomOperations().custom_create(
    4. \n \n
    5.                 request=request,
    6. \n \n
    7.                 view=UserViewSet(),
    8. \n \n
    9.                 data_key='user'
    10. \n \n
    11.             )
    12. \n \n
    13.             print(user)
    14. \n \n
    \n \n
      \n
    1.             owner = user['id']\n                        ^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             request.data.update({'owner': owner})
    2. \n \n
    3. \n \n
    4.         serializer = self.serializer_class(data=request.data)
    5. \n \n
    6.         if serializer.is_valid():
    7. \n \n
    8.             serializer.save()
    9. \n \n
    10.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x00000212BF143680>
    user
    {}
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1230'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x00000212BF142170>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:43:14.451872", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "503": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 500, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1713, "body_response": "\n\n\n \n \n ProgrammingError\n at /herd/web/api/v1/herd/\n \n \n \n \n\n\n
\n

ProgrammingError\n at /herd/web/api/v1/herd/

\n
column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n                                                             ^\n
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:POST
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/
Django Version:5.0
Exception Type:ProgrammingError
Exception Value:
column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n                                                             ^\n
Exception Location:D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 08:13:49 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>})
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n The above exception (column "cooperative_id" of relation "herd_herd" does not exist\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\n ^\n) was the direct cause of the following exception:\n \n

  • \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000013A0A5B3CB0>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x0000013A0EA4B6A0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000013A0A5B3CB0>
    wrapped_callback
    <function HerdViewSet at 0x0000013A0EA4B6A0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    view_func
    <function HerdViewSet at 0x0000013A0EA49940>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'list'
    actions
    {'get': 'list', 'head': 'list', 'post': 'create'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method ListModelMixin.list of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>>
    initkwargs
    {'basename': 'herd', 'detail': False, 'suffix': 'List'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>}
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    exception_handler
    <function exception_handler at 0x0000013A0E729A80>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.create of <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>>
    kwargs
    {}
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>,\n <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>)
    func
    <function HerdViewSet.create at 0x0000013A0EA4B880>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x0000013A0EA68CB0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 32, in create\n \n\n \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.             print(user)
    4. \n \n
    5.             owner = user['id']
    6. \n \n
    7.             request.data.update({'owner': owner})
    8. \n \n
    9. \n \n
    10.         serializer = self.serializer_class(data=request.data)
    11. \n \n
    12.         if serializer.is_valid():
    13. \n \n
    \n \n
      \n
    1.             serializer.save()\n                ^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return Response(serializer.data, status=status.HTTP_201_CREATED)
    2. \n \n
    3.         else:
    4. \n \n
    5.             return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    owner
    188
    request
    <rest_framework.request.Request: POST '/herd/web/api/v1/herd/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x0000013A0EB99C40>
    serializer
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 188}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    user
    {'id': 188, 'username': 'mopomk433', 'password': 'pbkdf2_sha256$720000$SG5qCjsdo61hANBZzjFdUG$llaOgBZJApCO6hwsgciNQb5BNmK5nOWknD2bY3D4fus=', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07T10:47:24.520088Z', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 210, in save\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if self.instance is not None:
    3. \n \n
    4.             self.instance = self.update(self.instance, validated_data)
    5. \n \n
    6.             assert self.instance is not None, (
    7. \n \n
    8.                 '`update()` did not return an object instance.'
    9. \n \n
    10.             )
    11. \n \n
    12.         else:
    13. \n \n
    \n \n
      \n
    1.             self.instance = self.create(validated_data)\n                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             assert self.instance is not None, (
    2. \n \n
    3.                 '`create()` did not return an object instance.'
    4. \n \n
    5.             )
    6. \n \n
    7. \n \n
    8.         return self.instance
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {}
    self
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 188}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    validated_data
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 991, in create\n \n\n \n
    \n \n
      \n \n
    1.         info = model_meta.get_field_info(ModelClass)
    2. \n \n
    3.         many_to_many = {}
    4. \n \n
    5.         for field_name, relation_info in info.relations.items():
    6. \n \n
    7.             if relation_info.to_many and (field_name in validated_data):
    8. \n \n
    9.                 many_to_many[field_name] = validated_data.pop(field_name)
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             instance = ModelClass._default_manager.create(**validated_data)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         except TypeError:
    2. \n \n
    3.             tb = traceback.format_exc()
    4. \n \n
    5.             msg = (
    6. \n \n
    7.                 'Got a `TypeError` when calling `%s.%s.create()`. '
    8. \n \n
    9.                 'This may be because you have a writable field on the '
    10. \n \n
    11.                 'serializer class that is not a valid argument to '
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ModelClass
    <class 'apps.herd.models.Herd'>
    field_name
    'live_stock_herd'
    info
    FieldInfo(pk=<django.db.models.fields.BigAutoField: id>, fields={'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'name': <django.db.models.fields.CharField: name>, 'photo': <django.db.models.fields.CharField: photo>, 'code': <django.db.models.fields.CharField: code>, 'heavy_livestock_number': <django.db.models.fields.BigIntegerField: heavy_livestock_number>, 'light_livestock_number': <django.db.models.fields.BigIntegerField: light_livestock_number>, 'heavy_livestock_quota': <django.db.models.fields.BigIntegerField: heavy_livestock_quota>, 'light_livestock_quota': <django.db.models.fields.BigIntegerField: light_livestock_quota>, 'postal': <django.db.models.fields.CharField: postal>, 'institution': <django.db.models.fields.CharField: institution>, 'epidemiologic': <django.db.models.fields.CharField: epidemiologic>, 'latitude': <django.db.models.fields.DecimalField: latitude>, 'longitude': <django.db.models.fields.DecimalField: longitude>, 'unit_unique_id': <django.db.models.fields.CharField: unit_unique_id>, 'activity': <django.db.models.fields.CharField: activity>, 'activity_state': <django.db.models.fields.BooleanField: activity_state>, 'operating_license_state': <django.db.models.fields.BooleanField: operating_license_state>, 'capacity': <django.db.models.fields.IntegerField: capacity>}, forward_relations={'created_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: created_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'modified_by': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: modified_by>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field=None, has_through_model=False, reverse=False), 'owner': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: owner>, related_model=<class 'apps.authentication.models.User'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'cooperative': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: cooperative>, related_model=<class 'apps.authentication.models.Organization'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'province': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: province>, related_model=<class 'apps.authentication.models.Province'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'city': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: city>, related_model=<class 'apps.authentication.models.City'>, to_many=False, to_field='id', has_through_model=False, reverse=False), 'contractor': RelationInfo(model_field=<django.db.models.fields.related.ForeignKey: contractor>, related_model=<class 'apps.authentication.models.Organization'>, to_many=False, to_field='id', has_through_model=False, reverse=False)}, reverse_relations={'live_stock_herd': RelationInfo(model_field=None, related_model=<class 'apps.livestock.models.LiveStock'>, to_many=True, to_field='id', has_through_model=False, reverse=True)}, fields_and_pk={'pk': <django.db.models.fields.BigAutoField: id>, 'id': <django.db.models.fields.BigAutoField: id>, 'create_date': <django.db.models.fields.DateTimeField: create_date>, 'modify_date': <django.db.models.fields.DateTimeField: modify_date>, 'creator_info': <django.db.models.fields.CharField: creator_info>, 'modifier_info': <django.db.models.fields.CharField: modifier_info>, 'trash': <django.db.models.fields.BooleanField: trash>, 'name': <django.db.models.fields.CharField: name>, 'photo': <django.db.models.fields.CharField: photo>, 'code': <django.db.models.fields.CharField: code>, 'heavy_livestock_number': <django.db.models.fields.BigIntegerField: heavy_livestock_number>, 'light_livestock_numbe\u2026 <trimmed 6783 bytes string>
    many_to_many
    {}
    relation_info
    RelationInfo(model_field=None, related_model=<class 'apps.livestock.models.LiveStock'>, to_many=True, to_field='id', has_through_model=False, reverse=True)
    self
    HerdSerializer(data={'user': {'username': 'mopomk433', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False}, 'cooperative': 2, 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9', 'photo': 'ssss', 'code': '12542365', 'heavy_livestock_number': 250, 'light_livestock_number': 100, 'heavy_livestock_quota': 35, 'light_livestock_quota': 80, 'province': 1, 'city': 1, 'postal': '12542365', 'institution': '5656656', 'epidemiologic': '896574123', 'contractor': 22, 'latitude': 1.22354865, 'longitude': 2.3658974, 'unit_unique_id': 784512895623, 'activity': 'I', 'activity_state': True, 'operating_license_state': True, 'capacity': 50, 'owner': 188}):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    validated_data
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    name
    'create'
    self
    <django.db.models.manager.Manager object at 0x0000013A0EA691C0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 677, in create\n \n\n \n
    \n \n
      \n \n
    1.             raise ValueError(
    2. \n \n
    3.                 "The following fields do not exist in this model: %s"
    4. \n \n
    5.                 % ", ".join(reverse_one_to_one_fields)
    6. \n \n
    7.             )
    8. \n \n
    9. \n \n
    10.         obj = self.model(**kwargs)
    11. \n \n
    12.         self._for_write = True
    13. \n \n
    \n \n
      \n
    1.         obj.save(force_insert=True, using=self.db)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return obj
    2. \n \n
    3. \n \n
    4.     async def acreate(self, **kwargs):
    5. \n \n
    6.         return await sync_to_async(self.create)(**kwargs)
    7. \n \n
    8. \n \n
    9.     def _prepare_for_bulk_create(self, objs):
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    kwargs
    {'activity': 'I',\n 'activity_state': True,\n 'capacity': 50,\n 'city': <City: \u06a9\u0631\u062c>,\n 'code': '12542365',\n 'contractor': <Organization: \u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f-U-\u0627\u062a\u062d\u0627\u062f\u06cc\u0647>,\n 'cooperative': <Organization: \u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646-None>,\n 'epidemiologic': '896574123',\n 'heavy_livestock_number': 250,\n 'heavy_livestock_quota': 35,\n 'institution': '5656656',\n 'latitude': Decimal('1.2235486500000000'),\n 'light_livestock_number': 100,\n 'light_livestock_quota': 80,\n 'longitude': Decimal('2.3658974000000000'),\n 'name': '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'operating_license_state': True,\n 'owner': <User: mopomk433 zolfaghari-None>,\n 'photo': 'ssss',\n 'postal': '12542365',\n 'province': <Province: \u0627\u0644\u0628\u0631\u0632>,\n 'unit_unique_id': '784512895623'}
    obj
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    reverse_one_to_one_fields
    frozenset()
    self
    Error in formatting: ProgrammingError: column herd_herd.cooperative_id does not exist\nLINE 1: ...fo", "herd_herd"."trash", "herd_herd"."owner_id", "herd_herd...\n                                                             ^\n
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\models.py, line 74, in save\n \n\n \n
    \n \n
      \n \n
    1.     operating_license_state = models.BooleanField(default=False)
    2. \n \n
    3.     capacity = models.IntegerField(default=0)
    4. \n \n
    5. \n \n
    6.     def __str__(self):
    7. \n \n
    8.         return f'{self.name}-{self.code}'
    9. \n \n
    10. \n \n
    11.     def save(self, *args, **kwargs):
    12. \n \n
    \n \n
      \n
    1.         super(Herd, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.herd.models.Herd'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\core\\models.py, line 37, in save\n \n\n \n
    \n \n
      \n \n
    1.     def save(self, *args, **kwargs):
    2. \n \n
    3.         user = get_current_user()  # get user object
    4. \n \n
    5.         self.modified_by = user
    6. \n \n
    7.         if not self.creator_info:
    8. \n \n
    9.             self.created_by = user
    10. \n \n
    11.             self.creator_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    12. \n \n
    13.         self.modifier_info = user.first_name + ' ' + user.last_name + '-' + user.national_code
    14. \n \n
    \n \n
      \n
    1.         super(BaseModel, self).save(*args, **kwargs)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class MobileTest(BaseModel):
    4. \n \n
    5.     latitude = models.DecimalField(max_digits=22, decimal_places=16)
    6. \n \n
    7.     longitude = models.DecimalField(max_digits=22, decimal_places=16)
    8. \n \n
    9.     count = models.IntegerField(default=0)
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'apps.core.models.BaseModel'>
    args
    ()
    kwargs
    {'force_insert': True, 'using': 'default'}
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    user
    <User: moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 814, in save\n \n\n \n
    \n \n
      \n \n
    1.             for field in self._meta.concrete_fields:
    2. \n \n
    3.                 if not field.primary_key and not hasattr(field, "through"):
    4. \n \n
    5.                     field_names.add(field.attname)
    6. \n \n
    7.             loaded_fields = field_names.difference(deferred_fields)
    8. \n \n
    9.             if loaded_fields:
    10. \n \n
    11.                 update_fields = frozenset(loaded_fields)
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.         self.save_base(\n             ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             using=using,
    2. \n \n
    3.             force_insert=force_insert,
    4. \n \n
    5.             force_update=force_update,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.         )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    deferred_fields
    set()
    force_insert
    True
    force_update
    False
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 901, in save_base\n \n\n \n
    \n \n
      \n \n
    1.             parent_inserted = False
    2. \n \n
    3.             if not raw:
    4. \n \n
    5.                 # Validate force insert only when parents are inserted.
    6. \n \n
    7.                 force_insert = self._validate_force_insert(force_insert)
    8. \n \n
    9.                 parent_inserted = self._save_parents(
    10. \n \n
    11.                     cls, using, update_fields, force_insert
    12. \n \n
    13.                 )
    14. \n \n
    \n \n
      \n
    1.             updated = self._save_table(\n                           
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 raw,
    2. \n \n
    3.                 cls,
    4. \n \n
    5.                 force_insert or parent_inserted,
    6. \n \n
    7.                 force_update,
    8. \n \n
    9.                 using,
    10. \n \n
    11.                 update_fields,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.herd.models.Herd'>
    context_manager
    <contextlib._GeneratorContextManager object at 0x0000013A0ED8F950>
    force_insert
    (<class 'apps.herd.models.Herd'>,)
    force_update
    False
    meta
    <Options for Herd>
    origin
    <class 'apps.herd.models.Herd'>
    parent_inserted
    False
    raw
    False
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1059, in _save_table\n \n\n \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             fields = [
    4. \n \n
    5.                 f
    6. \n \n
    7.                 for f in meta.local_concrete_fields
    8. \n \n
    9.                 if not f.generated and (pk_set or f is not meta.auto_field)
    10. \n \n
    11.             ]
    12. \n \n
    13.             returning_fields = meta.db_returning_fields
    14. \n \n
    \n \n
      \n
    1.             results = self._do_insert(\n                            
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 cls._base_manager, using, fields, returning_fields, raw
    2. \n \n
    3.             )
    4. \n \n
    5.             if results:
    6. \n \n
    7.                 for value, field in zip(results[0], returning_fields):
    8. \n \n
    9.                     setattr(self, field.attname, value)
    10. \n \n
    11.         return updated
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cls
    <class 'apps.herd.models.Herd'>
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    force_insert
    (<class 'apps.herd.models.Herd'>,)
    force_update
    False
    meta
    <Options for Herd>
    non_pks
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    pk_set
    False
    pk_val
    None
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    update_fields
    None
    updated
    False
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\base.py, line 1100, in _do_insert\n \n\n \n
    \n \n
      \n \n
    1.         return filtered._update(values) > 0
    2. \n \n
    3. \n \n
    4.     def _do_insert(self, manager, using, fields, returning_fields, raw):
    5. \n \n
    6.         """
    7. \n \n
    8.         Do an INSERT. If returning_fields is defined then this method should
    9. \n \n
    10.         return the newly created data for the model.
    11. \n \n
    12.         """
    13. \n \n
    \n \n
      \n
    1.         return manager._insert(\n                     
      \u2026
    2. \n
    \n \n
      \n \n
    1.             [self],
    2. \n \n
    3.             fields=fields,
    4. \n \n
    5.             returning_fields=returning_fields,
    6. \n \n
    7.             using=using,
    8. \n \n
    9.             raw=raw,
    10. \n \n
    11.         )
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    manager
    <django.db.models.manager.Manager object at 0x0000013A0ED8FA70>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\manager.py, line 87, in manager_method\n \n\n \n
    \n \n
      \n \n
    1.         return []
    2. \n \n
    3. \n \n
    4.     @classmethod
    5. \n \n
    6.     def _get_queryset_methods(cls, queryset_class):
    7. \n \n
    8.         def create_method(name, method):
    9. \n \n
    10.             @wraps(method)
    11. \n \n
    12.             def manager_method(self, *args, **kwargs):
    13. \n \n
    \n \n
      \n
    1.                 return getattr(self.get_queryset(), name)(*args, **kwargs)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             return manager_method
    3. \n \n
    4. \n \n
    5.         new_methods = {}
    6. \n \n
    7.         for name, method in inspect.getmembers(
    8. \n \n
    9.             queryset_class, predicate=inspect.isfunction
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ([<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>],)
    kwargs
    {'fields': [<django.db.models.fields.DateTimeField: create_date>,\n            <django.db.models.fields.DateTimeField: modify_date>,\n            <django.db.models.fields.related.ForeignKey: created_by>,\n            <django.db.models.fields.related.ForeignKey: modified_by>,\n            <django.db.models.fields.CharField: creator_info>,\n            <django.db.models.fields.CharField: modifier_info>,\n            <django.db.models.fields.BooleanField: trash>,\n            <django.db.models.fields.related.ForeignKey: owner>,\n            <django.db.models.fields.related.ForeignKey: cooperative>,\n            <django.db.models.fields.CharField: name>,\n            <django.db.models.fields.CharField: photo>,\n            <django.db.models.fields.CharField: code>,\n            <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n            <django.db.models.fields.BigIntegerField: light_livestock_number>,\n            <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n            <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n            <django.db.models.fields.related.ForeignKey: province>,\n            <django.db.models.fields.related.ForeignKey: city>,\n            <django.db.models.fields.CharField: postal>,\n            <django.db.models.fields.CharField: institution>,\n            <django.db.models.fields.CharField: epidemiologic>,\n            <django.db.models.fields.related.ForeignKey: contractor>,\n            <django.db.models.fields.DecimalField: latitude>,\n            <django.db.models.fields.DecimalField: longitude>,\n            <django.db.models.fields.CharField: unit_unique_id>,\n            <django.db.models.fields.CharField: activity>,\n            <django.db.models.fields.BooleanField: activity_state>,\n            <django.db.models.fields.BooleanField: operating_license_state>,\n            <django.db.models.fields.IntegerField: capacity>],\n 'raw': False,\n 'returning_fields': [<django.db.models.fields.BigAutoField: id>],\n 'using': 'default'}
    name
    '_insert'
    self
    <django.db.models.manager.Manager object at 0x0000013A0ED8FA70>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\query.py, line 1845, in _insert\n \n\n \n
    \n \n
      \n \n
    1.         query = sql.InsertQuery(
    2. \n \n
    3.             self.model,
    4. \n \n
    5.             on_conflict=on_conflict,
    6. \n \n
    7.             update_fields=update_fields,
    8. \n \n
    9.             unique_fields=unique_fields,
    10. \n \n
    11.         )
    12. \n \n
    13.         query.insert_values(fields, objs, raw=raw)
    14. \n \n
    \n \n
      \n
    1.         return query.get_compiler(using=using).execute_sql(returning_fields)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _insert.alters_data = True
    3. \n \n
    4.     _insert.queryset_only = False
    5. \n \n
    6. \n \n
    7.     def _batched_insert(
    8. \n \n
    9.         self,
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    fields
    [<django.db.models.fields.DateTimeField: create_date>,\n <django.db.models.fields.DateTimeField: modify_date>,\n <django.db.models.fields.related.ForeignKey: created_by>,\n <django.db.models.fields.related.ForeignKey: modified_by>,\n <django.db.models.fields.CharField: creator_info>,\n <django.db.models.fields.CharField: modifier_info>,\n <django.db.models.fields.BooleanField: trash>,\n <django.db.models.fields.related.ForeignKey: owner>,\n <django.db.models.fields.related.ForeignKey: cooperative>,\n <django.db.models.fields.CharField: name>,\n <django.db.models.fields.CharField: photo>,\n <django.db.models.fields.CharField: code>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_number>,\n <django.db.models.fields.BigIntegerField: light_livestock_number>,\n <django.db.models.fields.BigIntegerField: heavy_livestock_quota>,\n <django.db.models.fields.BigIntegerField: light_livestock_quota>,\n <django.db.models.fields.related.ForeignKey: province>,\n <django.db.models.fields.related.ForeignKey: city>,\n <django.db.models.fields.CharField: postal>,\n <django.db.models.fields.CharField: institution>,\n <django.db.models.fields.CharField: epidemiologic>,\n <django.db.models.fields.related.ForeignKey: contractor>,\n <django.db.models.fields.DecimalField: latitude>,\n <django.db.models.fields.DecimalField: longitude>,\n <django.db.models.fields.CharField: unit_unique_id>,\n <django.db.models.fields.CharField: activity>,\n <django.db.models.fields.BooleanField: activity_state>,\n <django.db.models.fields.BooleanField: operating_license_state>,\n <django.db.models.fields.IntegerField: capacity>]
    objs
    [<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>]
    on_conflict
    None
    query
    <django.db.models.sql.subqueries.InsertQuery object at 0x0000013A0ED8F7A0>
    raw
    False
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    Error in formatting: ProgrammingError: column herd_herd.cooperative_id does not exist\nLINE 1: ...fo", "herd_herd"."trash", "herd_herd"."owner_id", "herd_herd...\n                                                             ^\n
    unique_fields
    None
    update_fields
    None
    using
    'default'
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\models\\sql\\compiler.py, line 1822, in execute_sql\n \n\n \n
    \n \n
      \n \n
    1.             and len(self.query.objs) != 1
    2. \n \n
    3.             and not self.connection.features.can_return_rows_from_bulk_insert
    4. \n \n
    5.         )
    6. \n \n
    7.         opts = self.query.get_meta()
    8. \n \n
    9.         self.returning_fields = returning_fields
    10. \n \n
    11.         with self.connection.cursor() as cursor:
    12. \n \n
    13.             for sql, params in self.as_sql():
    14. \n \n
    \n \n
      \n
    1.                 cursor.execute(sql, params)\n                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if not self.returning_fields:
    2. \n \n
    3.                 return []
    4. \n \n
    5.             if (
    6. \n \n
    7.                 self.connection.features.can_return_rows_from_bulk_insert
    8. \n \n
    9.                 and len(self.query.objs) > 1
    10. \n \n
    11.             ):
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    cursor
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    opts
    <Options for Herd>
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    returning_fields
    [<django.db.models.fields.BigAutoField: id>]
    self
    <SQLInsertCompiler model=Herd connection=<DatabaseWrapper vendor='postgresql' alias='default'> using='default'>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 122, in execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2. \n \n
    3. class CursorDebugWrapper(CursorWrapper):
    4. \n \n
    5.     # XXX callproc isn't instrumented at this time.
    6. \n \n
    7. \n \n
    8.     def execute(self, sql, params=None):
    9. \n \n
    10.         with self.debug_sql(sql, params, use_last_executed_query=True):
    11. \n \n
    \n \n
      \n
    1.             return super().execute(sql, params)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def executemany(self, sql, param_list):
    3. \n \n
    4.         with self.debug_sql(sql, param_list, many=True):
    5. \n \n
    6.             return super().executemany(sql, param_list)
    7. \n \n
    8. \n \n
    9.     @contextmanager
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    __class__
    <class 'django.db.backends.utils.CursorDebugWrapper'>
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 79, in execute\n \n\n \n
    \n \n
      \n \n
    1.             elif kparams is None:
    2. \n \n
    3.                 return self.cursor.callproc(procname, params)
    4. \n \n
    5.             else:
    6. \n \n
    7.                 params = params or ()
    8. \n \n
    9.                 return self.cursor.callproc(procname, params, kparams)
    10. \n \n
    11. \n \n
    12.     def execute(self, sql, params=None):
    13. \n \n
    \n \n
      \n
    1.         return self._execute_with_wrappers(\n                   
      \u2026
    2. \n
    \n \n
      \n \n
    1.             sql, params, many=False, executor=self._execute
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def executemany(self, sql, param_list):
    7. \n \n
    8.         return self._execute_with_wrappers(
    9. \n \n
    10.             sql, param_list, many=True, executor=self._executemany
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 92, in _execute_with_wrappers\n \n\n \n
    \n \n
      \n \n
    1.             sql, param_list, many=True, executor=self._executemany
    2. \n \n
    3.         )
    4. \n \n
    5. \n \n
    6.     def _execute_with_wrappers(self, sql, params, many, executor):
    7. \n \n
    8.         context = {"connection": self.db, "cursor": self}
    9. \n \n
    10.         for wrapper in reversed(self.db.execute_wrappers):
    11. \n \n
    12.             executor = functools.partial(wrapper, executor)
    13. \n \n
    \n \n
      \n
    1.         return executor(sql, params, many, context)\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n 'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>}
    executor
    <bound method CursorWrapper._execute of <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>>
    many
    False
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 100, in _execute\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def _execute(self, sql, params, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    12.         self.db.validate_no_broken_transaction()
    13. \n \n
    \n \n
      \n
    1.         with self.db.wrap_database_errors:\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             if params is None:
    2. \n \n
    3.                 # params default might be backend specific.
    4. \n \n
    5.                 return self.cursor.execute(sql)
    6. \n \n
    7.             else:
    8. \n \n
    9.                 return self.cursor.execute(sql, params)
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>})
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\utils.py, line 91, in __exit__\n \n\n \n
    \n \n
      \n \n
    1.             db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
    2. \n \n
    3.             if issubclass(exc_type, db_exc_type):
    4. \n \n
    5.                 dj_exc_value = dj_exc_type(*exc_value.args)
    6. \n \n
    7.                 # Only set the 'errors_occurred' flag for errors that may make
    8. \n \n
    9.                 # the connection unusable.
    10. \n \n
    11.                 if dj_exc_type not in (DataError, IntegrityError):
    12. \n \n
    13.                     self.wrapper.errors_occurred = True
    14. \n \n
    \n \n
      \n
    1.                 raise dj_exc_value.with_traceback(traceback) from exc_value\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def __call__(self, func):
    3. \n \n
    4.         # Note that we are intentionally not using @wraps here for performance
    5. \n \n
    6.         # reasons. Refs #21109.
    7. \n \n
    8.         def inner(*args, **kwargs):
    9. \n \n
    10.             with self:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    db_exc_type
    <class 'psycopg2.ProgrammingError'>
    dj_exc_type
    <class 'django.db.utils.ProgrammingError'>
    dj_exc_value
    ProgrammingError('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    exc_type
    <class 'psycopg2.errors.UndefinedColumn'>
    exc_value
    UndefinedColumn('column "cooperative_id" of relation "herd_herd" does not exist\\nLINE 1: ...ator_info", "modifier_info", "trash", "owner_id", "cooperati...\\n                                                             ^\\n')
    self
    <django.db.utils.DatabaseErrorWrapper object at 0x0000013A0EEC7320>
    traceback
    <traceback object at 0x0000013A0EDD4D00>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\db\\backends\\utils.py, line 105, in _execute\n \n\n \n
    \n \n
      \n \n
    1.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    2. \n \n
    3.         self.db.validate_no_broken_transaction()
    4. \n \n
    5.         with self.db.wrap_database_errors:
    6. \n \n
    7.             if params is None:
    8. \n \n
    9.                 # params default might be backend specific.
    10. \n \n
    11.                 return self.cursor.execute(sql)
    12. \n \n
    13.             else:
    14. \n \n
    \n \n
      \n
    1.                 return self.cursor.execute(sql, params)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     def _executemany(self, sql, param_list, *ignored_wrapper_args):
    3. \n \n
    4.         # Raise a warning during app initialization (stored_app_configs is only
    5. \n \n
    6.         # ever set during testing).
    7. \n \n
    8.         if not apps.ready and not apps.stored_app_configs:
    9. \n \n
    10.             warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    ignored_wrapper_args
    (False,\n {'connection': <DatabaseWrapper vendor='postgresql' alias='default'>,\n  'cursor': <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>})
    params
    (datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n datetime.datetime(2025, 5, 19, 8, 13, 48, 744779, tzinfo=datetime.timezone.utc),\n 2,\n 2,\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n '\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598',\n False,\n 188,\n 2,\n '\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9',\n 'ssss',\n '12542365',\n 250,\n 100,\n 35,\n 80,\n 1,\n 1,\n '12542365',\n '5656656',\n '896574123',\n 22,\n Decimal('1.2235486500000000'),\n Decimal('2.3658974000000000'),\n '784512895623',\n 'I',\n True,\n True,\n 50)
    self
    <django.db.backends.postgresql.base.CursorDebugWrapper object at 0x0000013A0ED8F260>
    sql
    ('INSERT INTO "herd_herd" ("create_date", "modify_date", "created_by_id", '\n '"modified_by_id", "creator_info", "modifier_info", "trash", "owner_id", '\n '"cooperative_id", "name", "photo", "code", "heavy_livestock_number", '\n '"light_livestock_number", "heavy_livestock_quota", "light_livestock_quota", '\n '"province_id", "city_id", "postal", "institution", "epidemiologic", '\n '"contractor_id", "latitude", "longitude", "unit_unique_id", "activity", '\n '"activity_state", "operating_license_state", "capacity") VALUES (%s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, '\n '%s, %s, %s, %s, %s, %s, %s) RETURNING "herd_herd"."id"')
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1230'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000013A0EEC6BF0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:43:49.045685", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "504": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1512, "body_response": "{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:14:46.221802Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":189,\"cooperative\":2,\"province\":1,\"city\":1,\"contractor\":22}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:44:46.343815", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "505": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 691, "body_response": "{\"id\":2,\"create_date\":\"2025-05-19T08:16:38.992723Z\",\"modify_date\":\"2025-05-19T08:16:38.992723Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":189,\"cooperative\":2,\"province\":1,\"city\":1,\"contractor\":22}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 11:46:39.101057", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "506": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 2083, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:14:46.221802Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},{\"id\":2,\"create_date\":\"2025-05-19T08:16:38.992723Z\",\"modify_date\":\"2025-05-19T08:16:38.992723Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:04:20.213790", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "507": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 2583, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:14:46.221802Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},{\"id\":2,\"create_date\":\"2025-05-19T08:16:38.992723Z\",\"modify_date\":\"2025-05-19T08:16:38.992723Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:06:49.668501", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "508": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 569, "body_response": "{\"username\":[\"A user with that username already exists.\"]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:15:00.156834", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "509": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 2559, "body_response": "{\"count\":2,\"next\":null,\"previous\":null,\"results\":[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:14:46.221802Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}},{\"id\":2,\"create_date\":\"2025-05-19T08:16:38.992723Z\",\"modify_date\":\"2025-05-19T08:16:38.992723Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:15:13.443242", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "510": {"endpoint": "/herd/web/api/v1/herd/", "response_code": 405, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 377, "body_response": "{\"detail\":\"Method \\\"PUT\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:21:25.946969", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "511": {"endpoint": "/herd/web/api/v1/herd/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 1521, "body_response": "{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:51:43.567745Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:21:44.467209", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "512": {"endpoint": "/herd/web/api/v1/herd/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 1514, "body_response": "{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:16.578106Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:22:17.491608", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "513": {"endpoint": "/herd/web/api/v1/herd/1/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 1835, "body_response": "{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 12:22:24.077112", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "514": {"endpoint": "/herd/web/api/v1/herd/1/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1433, "body_response": "{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":189,\"username\":\"mopomk433\",\"password\":\"pbkdf2_sha256$720000$eomYIULyHaJZKuAqn4VIU8$Y/NdKQiPz3CQkacct9mkEogl7i6mzDO1xjyel21Ij7Q=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 13:39:09.666012", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "515": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 331, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:01:00.578519", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "516": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 296, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:01:42.678218", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "517": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 264, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:01:53.641110", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "518": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 291, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:02:11.526570", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "519": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 284, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:02:13.803475", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "520": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 280, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:02:38.446596", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "521": {"endpoint": "/herd/web/api/v1/herd/myherds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 288, "body_response": "{\"detail\":\"Not found.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:02:40.996177", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "522": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 324, "body_response": "\"ddd\"", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:02:53.219384", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "523": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 466, "body_response": "\n\n\n \n \n AssertionError\n at /herd/web/api/v1/herd/my_herds/\n \n \n \n \n\n\n
\n

AssertionError\n at /herd/web/api/v1/herd/my_herds/

\n
Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/my_herds/
Django Version:5.0
Exception Type:AssertionError
Exception Value:
Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.
Exception Location:D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 770, in is_valid
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 10:33:07 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AssertionError('Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000002AC279781D0>>
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000002AC277E54E0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000002AC279781D0>
    wrapped_callback
    <function HerdViewSet at 0x000002AC277E54E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    view_func
    <function HerdViewSet at 0x000002AC277E6020>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'my_herds'
    actions
    {'get': 'my_herds', 'head': 'my_herds'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>>
    initkwargs
    {'basename': 'herd',\n 'description': ' get current user herds ',\n 'detail': False,\n 'name': 'my_herds'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>}
    exc
    AssertionError('Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.')
    exception_handler
    <function exception_handler at 0x000002AC274C9300>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    AssertionError('Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>,\n <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>)
    func
    <function HerdViewSet.my_herds at 0x000002AC277E7E20>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x000002AC27805190>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 48, in my_herds\n \n\n \n
    \n \n
      \n \n
    1.         url_path='my_herds',
    2. \n \n
    3.         name='my_herds'
    4. \n \n
    5.     )
    6. \n \n
    7.     @transaction.atomic
    8. \n \n
    9.     def my_herds(self, request):
    10. \n \n
    11.         """ get current user herds """
    12. \n \n
    13.         serializer = self.serializer_class(self.queryset.filter(owner=request.user.id), many=True)
    14. \n \n
    \n \n
      \n
    1.         if serializer.is_valid():\n               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return Response(serializer.data, status=status.HTTP_200_OK)
    2. \n \n
    3.         else:
    4. \n \n
    5.             return Response(serializer.errors, status=status.HTTP_403_FORBIDDEN)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000002AC2794E2D0>
    serializer
    HerdSerializer(<QuerySet [<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>]>, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\serializers.py, line 770, in is_valid\n \n\n \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3. \n \n
    4.         return self.instance
    5. \n \n
    6. \n \n
    7.     def is_valid(self, *, raise_exception=False):
    8. \n \n
    9.         # This implementation is the same as the default,
    10. \n \n
    11.         # except that we use lists, rather than dicts, as the empty case.
    12. \n \n
    \n \n
      \n
    1.         assert hasattr(self, 'initial_data'), (\n             ^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             'Cannot call `.is_valid()` as no `data=` keyword argument was '
    2. \n \n
    3.             'passed when instantiating the serializer instance.'
    4. \n \n
    5.         )
    6. \n \n
    7. \n \n
    8.         if not hasattr(self, '_validated_data'):
    9. \n \n
    10.             try:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    raise_exception
    False
    self
    HerdSerializer(<QuerySet [<Herd: \u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9-12542365>]>, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'628'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/my_herds/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000002AC27B363E0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:03:07.573671", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "524": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1336, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:04:23.852630", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "525": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1493, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:06:30.734752", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "526": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1569, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:06:45.204945", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "527": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1425, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:06:50.318445", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "528": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 479, "body_response": "[]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:07:54.640092", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "529": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 358, "body_response": "[]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:08:01.834767", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "530": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 274, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:09:45.223713", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "531": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 279, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:09:48.753428", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "532": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 289, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:09:57.693994", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "533": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 311, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:10:04.323205", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "534": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 262, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:10:06.937041", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "535": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1467, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:10:20.307523", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "536": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 426, "body_response": "[]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:11:15.005753", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "537": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 500, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 484, "body_response": "\n\n\n \n \n TypeError\n at /herd/web/api/v1/herd/my_herds/\n \n \n \n \n\n\n
\n

TypeError\n at /herd/web/api/v1/herd/my_herds/

\n
object of type 'ListSerializer' has no len()
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/herd/web/api/v1/herd/my_herds/
Django Version:5.0
Exception Type:TypeError
Exception Value:
object of type 'ListSerializer' has no len()
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 48, in my_herds
Raised during:apps.herd.web.api.v1.api.HerdViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 10:41:38 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError("object of type 'ListSerializer' has no len()")
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x000001AF4A721BE0>>
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function HerdViewSet at 0x000001AF46EC1EE0>
    callback_args
    ()
    callback_kwargs
    {}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x000001AF4A721BE0>
    wrapped_callback
    <function HerdViewSet at 0x000001AF46EC1EE0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    view_func
    <function HerdViewSet at 0x000001AF4A5A7880>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'my_herds'
    actions
    {'get': 'my_herds', 'head': 'my_herds'}
    args
    ()
    cls
    <class 'apps.herd.web.api.v1.api.HerdViewSet'>
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>>
    initkwargs
    {'basename': 'herd',\n 'description': ' get current user herds ',\n 'detail': False,\n 'name': 'my_herds'}
    kwargs
    {}
    method
    'head'
    request
    <WSGIRequest: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {},\n 'request': <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>,\n 'view': <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>}
    exc
    TypeError("object of type 'ListSerializer' has no len()")
    exception_handler
    <function exception_handler at 0x000001AF4A279BC0>
    response
    None
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    TypeError("object of type 'ListSerializer' has no len()")
    renderer_format
    'json'
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method HerdViewSet.my_herds of <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>>
    kwargs
    {}
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>,\n <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>)
    func
    <function HerdViewSet.my_herds at 0x000001AF4A5D5800>
    kwds
    {}
    self
    <django.db.transaction.Atomic object at 0x000001AF4A5B5E20>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\herd\\web\\api\\v1\\api.py, line 48, in my_herds\n \n\n \n
    \n \n
      \n \n
    1.         url_path='my_herds',
    2. \n \n
    3.         name='my_herds'
    4. \n \n
    5.     )
    6. \n \n
    7.     @transaction.atomic
    8. \n \n
    9.     def my_herds(self, request):
    10. \n \n
    11.         """ get current user herds """
    12. \n \n
    13.         serializer = self.serializer_class(self.queryset.filter(owner=request.user.id), many=True)
    14. \n \n
    \n \n
      \n
    1.         if len(serializer) != 0:\n               ^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             return Response(serializer.data, status=status.HTTP_200_OK)
    2. \n \n
    3.         else:
    4. \n \n
    5.             return Response(status=status.HTTP_404_NOT_FOUND)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: GET '/herd/web/api/v1/herd/my_herds/'>
    self
    <apps.herd.web.api.v1.api.HerdViewSet object at 0x000001AF4A8D9AC0>
    serializer
    HerdSerializer(<QuerySet []>, many=True):\n    id = IntegerField(label='ID', read_only=True)\n    create_date = DateTimeField(read_only=True)\n    modify_date = DateTimeField(read_only=True)\n    creator_info = CharField(allow_null=True, max_length=100, required=False)\n    modifier_info = CharField(allow_null=True, max_length=100, required=False)\n    trash = BooleanField(required=False)\n    name = CharField(max_length=50)\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    code = CharField(max_length=20)\n    heavy_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_number = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    heavy_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    light_livestock_quota = IntegerField(max_value=9223372036854775807, min_value=-9223372036854775808, required=False)\n    postal = CharField(allow_null=True, help_text='herd postal code', max_length=10, required=False)\n    institution = CharField(allow_null=True, help_text='herd institution code', max_length=20, required=False)\n    epidemiologic = CharField(allow_null=True, max_length=18, required=False)\n    latitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    longitude = DecimalField(allow_null=True, decimal_places=16, max_digits=22, required=False)\n    unit_unique_id = CharField(allow_null=True, max_length=20, required=False)\n    activity = ChoiceField(allow_null=True, choices=[('I', 'Industrial'), ('V', 'Village'), ('N', 'Nomadic')], required=False)\n    activity_state = BooleanField(required=False)\n    operating_license_state = BooleanField(required=False)\n    capacity = IntegerField(max_value=2147483647, min_value=-2147483648, required=False)\n    created_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    modified_by = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    owner = PrimaryKeyRelatedField(allow_null=True, queryset=User.objects.all(), required=False)\n    cooperative = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    contractor = PrimaryKeyRelatedField(allow_null=True, queryset=Organization.objects.all(), required=False)
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'628'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/herd/web/api/v1/herd/my_herds/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x000001AF4A8D8CA0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:11:38.498453", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "538": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 429, "body_response": "", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:12:07.363830", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "539": {"endpoint": "/herd/web/api/v1/herd/my_herds/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 1628, "body_response": "[{\"id\":1,\"create_date\":\"2025-05-19T08:14:46.221802Z\",\"modify_date\":\"2025-05-19T08:52:22.967252Z\",\"creator_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"modifier_info\":\"\u0645\u062c\u062a\u0628\u06cc \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-4061080598\",\"trash\":false,\"name\":\"\u06af\u0644\u0647 \u0634\u0645\u0627\u0631\u0647 \u06cc\u06a9\",\"photo\":\"ssss\",\"code\":\"12542365\",\"heavy_livestock_number\":250,\"light_livestock_number\":100,\"heavy_livestock_quota\":35,\"light_livestock_quota\":80,\"postal\":\"12542365\",\"institution\":\"5656656\",\"epidemiologic\":\"896574123\",\"latitude\":\"1.2235486500000000\",\"longitude\":\"2.3658974000000000\",\"unit_unique_id\":\"784512895623\",\"activity\":\"I\",\"activity_state\":true,\"operating_license_state\":true,\"capacity\":50,\"created_by\":2,\"modified_by\":2,\"owner\":{\"id\":2,\"username\":\"moji\",\"password\":\"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\",\"is_active\":true,\"mobile\":\"09389657\",\"phone\":null,\"national_code\":\"4061080598\",\"birthdate\":null,\"nationality\":null,\"ownership\":\"N\",\"address\":null,\"photo\":null,\"province\":null,\"city\":null,\"otp_status\":false},\"cooperative\":{\"id\":2,\"name\":\"\u062c\u0647\u0627\u062f \u0634\u0647\u0631\u0633\u062a\u0627\u0646\",\"type\":{\"key\":null,\"name\":\"\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"3\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"contractor\":{\"id\":22,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"15556644\"}}]", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:12:17.689764", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "540": {"endpoint": "/auth/api/v1/user/", "response_code": 401, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 0, "body_response": "{\"detail\":\"Given token not valid for any token type\",\"code\":\"token_not_valid\",\"messages\":[{\"token_class\":\"AccessToken\",\"token_type\":\"access\",\"message\":\"Token is expired\"}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:12:42.360409"}, "541": {"endpoint": "/auth/api/v1/user/", "response_code": 400, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 1608, "body_response": "{\"national_unique_id\":[\"organization with this national unique id already exists.\"]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:09.082031", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "542": {"endpoint": "/auth/api/v1/user/", "response_code": 201, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 4285, "body_response": "{\"id\":191,\"username\":\"mostafazzz\",\"password\":\"pbkdf2_sha256$720000$vqwP18VlhTaf0aQEjaob24$OPA8Wz4R0G74BxwR5K49HMyo2eorGLLBmZ0o8mcYbFU=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false,\"organization\":{\"id\":23,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"122587\"},\"user_relations\":{\"id\":29,\"user\":{\"id\":191,\"username\":\"mostafazzz\",\"password\":\"pbkdf2_sha256$720000$vqwP18VlhTaf0aQEjaob24$OPA8Wz4R0G74BxwR5K49HMyo2eorGLLBmZ0o8mcYbFU=\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false},\"organization\":{\"id\":23,\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"id\":2,\"key\":\"U\",\"name\":\"\u0627\u062a\u062d\u0627\u062f\u06cc\u0647\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":3,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"id\":1,\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"id\":1,\"key\":\"J\",\"name\":\"\u062c\u0647\u0627\u062f\"},\"province\":{\"id\":1,\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"id\":1,\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":null,\"national_unique_id\":\"1\"},\"national_unique_id\":\"2\"},\"national_unique_id\":\"122587\"},\"role\":{\"id\":1,\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"description\":\" \u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627 \u062f\u0627\u0631\u062f\",\"type\":{\"key\":null,\"name\":\"\"},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"permissions\":[{\"id\":1,\"name\":\"superuser\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u0647\u0627\"},{\"id\":2,\"name\":\"test\",\"description\":\"\u062f\u0633\u062a\u0631\u0633\u06cc \u062a\u0633\u062a\"}]},\"bank_account\":{\"id\":3,\"user\":191,\"account\":\"906657844433\",\"name\":\"\u0631\u0633\u0627\u0644\u062a\",\"card\":\"60378956444433\",\"sheba\":\"IR12345678744433\"}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:21.189366", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "543": {"endpoint": "/auth/api/v1/user/", "response_code": 403, "method": "POST", "remote_address": "127.0.0.1", "exec_time": 767, "body_response": "{\"username\":[\"A user with that username already exists.\"]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:34.223600", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "544": {"endpoint": "/search/api/v1/user_elastic/moji", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 7, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/moji\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/moji
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/moji,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:42.949248"}, "545": {"endpoint": "/search/api/v1/user_elastic/moji/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 342, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"moji\",\"mobile\":\"09389657\",\"national_code\":\"4061080598\",\"first_name\":\"\u0645\u062c\u062a\u0628\u06cc\",\"last_name\":\"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\"},\"organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\",\"type\":{\"key\":\"J\"},\"national_unique_id\":\"1\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:43.448340", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "546": {"endpoint": "/search/api/v1/user_elastic/mostafa", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafa\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafa
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafa,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:49.630139"}, "547": {"endpoint": "/search/api/v1/user_elastic/mostafa/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 298, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:50.091417", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "548": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazzz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazzz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:55.963892"}, "549": {"endpoint": "/search/api/v1/user_elastic/mostafazzz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 348, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mostafazzz\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"122587\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:13:56.474927", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "550": {"endpoint": "/auth/api/v1/user/", "response_code": 405, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 638, "body_response": "{\"detail\":\"Method \\\"PUT\\\" not allowed.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:14:45.599521", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "551": {"endpoint": "/auth/api/v1/user/191/", "response_code": 500, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 1598, "body_response": "\n\n\n \n \n KeyError\n at /auth/api/v1/user/191/\n \n \n \n \n\n\n
\n

KeyError\n at /auth/api/v1/user/191/

\n
'id'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:PUT
Request URL:http://127.0.0.1:8000/auth/api/v1/user/191/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'id'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\authentication\\api\\v1\\api.py, line 106, in update
Raised during:apps.authentication.api.v1.api.UserViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 10:45:53 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000026DE5C8CE30>>
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function UserViewSet at 0x0000026DE5AB8180>
    callback_args
    ()
    callback_kwargs
    {'pk': '191'}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000026DE5C8CE30>
    wrapped_callback
    <function UserViewSet at 0x0000026DE5AB8180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'pk': '191'}
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    view_func
    <function UserViewSet at 0x0000026DE5AB80E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'retrieve'
    actions
    {'delete': 'destroy',\n 'get': 'retrieve',\n 'head': 'retrieve',\n 'patch': 'partial_update',\n 'put': 'update'}
    args
    ()
    cls
    <class 'apps.authentication.api.v1.api.UserViewSet'>
    handler
    <bound method RetrieveModelMixin.retrieve of <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>>
    initkwargs
    {'basename': 'user', 'detail': True, 'suffix': 'Instance'}
    kwargs
    {'pk': '191'}
    method
    'head'
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method UserViewSet.update of <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>>
    kwargs
    {'pk': '191'}
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {'pk': '191'},\n 'request': <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>,\n 'view': <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>}
    exc
    KeyError('id')
    exception_handler
    <function exception_handler at 0x0000026DE5809BC0>
    response
    None
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('id')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 512, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.             # Get the appropriate handler method
    2. \n \n
    3.             if request.method.lower() in self.http_method_names:
    4. \n \n
    5.                 handler = getattr(self, request.method.lower(),
    6. \n \n
    7.                                   self.http_method_not_allowed)
    8. \n \n
    9.             else:
    10. \n \n
    11.                 handler = self.http_method_not_allowed
    12. \n \n
    13. \n \n
    \n \n
      \n
    1.             response = handler(request, *args, **kwargs)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         except Exception as exc:
    3. \n \n
    4.             response = self.handle_exception(exc)
    5. \n \n
    6. \n \n
    7.         self.response = self.finalize_response(request, response, *args, **kwargs)
    8. \n \n
    9.         return self.response
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    handler
    <bound method UserViewSet.update of <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>>
    kwargs
    {'pk': '191'}
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\python-3.12.0\\Lib\\contextlib.py, line 81, in inner\n \n\n \n
    \n \n
      \n \n
    1.         """
    2. \n \n
    3.         return self
    4. \n \n
    5. \n \n
    6.     def __call__(self, func):
    7. \n \n
    8.         @wraps(func)
    9. \n \n
    10.         def inner(*args, **kwds):
    11. \n \n
    12.             with self._recreate_cm():
    13. \n \n
    \n \n
      \n
    1.                 return func(*args, **kwds)\n                           ^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         return inner
    2. \n \n
    3. \n \n
    4. \n \n
    5. class AsyncContextDecorator(object):
    6. \n \n
    7.     "A base class or mixin that enables async context managers to work as decorators."
    8. \n \n
    9. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    (<apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>,\n <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>)
    func
    <function UserViewSet.update at 0x0000026DE5A93920>
    kwds
    {'pk': '191'}
    self
    <django.db.transaction.Atomic object at 0x0000026DE5A9AEA0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\api\\v1\\api.py, line 106, in update\n \n\n \n
    \n \n
      \n \n
    1.         if serializer.is_valid():
    2. \n \n
    3.             user = serializer.update(self.queryset.get(id=pk), validated_data=request.data)
    4. \n \n
    5.             if 'organization' in request.data.keys():  # noqa
    6. \n \n
    7.                 organization = CustomOperations().custom_update(  # update organization for user
    8. \n \n
    9.                     request=request,
    10. \n \n
    11.                     view=OrganizationViewSet(),
    12. \n \n
    13.                     data_key='organization',
    14. \n \n
    \n \n
      \n
    1.                     obj_id=request.data['organization']['id']\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 )
    2. \n \n
    3.             else:
    4. \n \n
    5.                 organization = {}
    6. \n \n
    7.             if 'user_relations' in request.data.keys():
    8. \n \n
    9.                 user_relations = CustomOperations().custom_update(  # update user relations
    10. \n \n
    11.                     user=user,
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {}
    pk
    '191'
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6219700>
    serializer
    UserSerializer(data={'username': 'mostafaz', 'password': 'moji1234s', 'first_name': 'mojtaba', 'last_name': 'zolfaghari', 'is_active': True, 'mobile': '09389657326', 'phone': '33322627', 'national_code': '4061080598', 'birthdate': '2025-05-07 10:47:24.520088 +00:00', 'nationality': '\u0627\u06cc\u0631\u0627\u0646\u06cc', 'ownership': 'N', 'address': '\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc', 'photo': 'ssss', 'province': 1, 'city': 1, 'otp_status': False, 'is_herd_owner': False, 'organization': {'name': '\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f', 'type': 2, 'national_unique_id': '122587', 'province': 1, 'city': 1, 'parent_organization': 3, 'field_of_activity': 'PR'}, 'user_relations': {'role': 1, 'permissions': [1, 2]}, 'bank_account': {'name': '\u0631\u0633\u0627\u0644\u062a', 'account': '906657844433', 'card': '60378956444433', 'sheba': 'IR12345678744433'}}):\n    id = IntegerField(label='ID', read_only=True)\n    username = CharField(help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, validators=[<django.contrib.auth.validators.UnicodeUsernameValidator object>, <UniqueValidator(queryset=User.objects.all())>])\n    password = CharField(max_length=128)\n    first_name = CharField(allow_blank=True, max_length=150, required=False)\n    last_name = CharField(allow_blank=True, max_length=150, required=False)\n    is_active = BooleanField(help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', label='Active', required=False)\n    mobile = CharField(max_length=18)\n    phone = CharField(allow_null=True, max_length=18, required=False)\n    national_code = CharField(max_length=16)\n    birthdate = DateTimeField(allow_null=True, required=False)\n    nationality = CharField(allow_null=True, max_length=20, required=False)\n    ownership = ChoiceField(choices=[('N', 'Natural'), ('L', 'Legal')], help_text='N is natural & L is legal', required=False)\n    address = CharField(allow_null=True, max_length=1000, required=False, style={'base_template': 'textarea.html'})\n    photo = CharField(allow_null=True, max_length=50, required=False)\n    province = PrimaryKeyRelatedField(allow_null=True, queryset=Province.objects.all(), required=False)\n    city = PrimaryKeyRelatedField(allow_null=True, queryset=City.objects.all(), required=False)\n    otp_status = BooleanField(required=False)
    user
    <User: mostafaz zolfaghari-None>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'1057'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/auth/api/v1/user/191/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'PUT'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000026DE621B040>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:15:53.919700", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "552": {"endpoint": "/auth/api/v1/user/191/", "response_code": 500, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 670, "body_response": "\n\n\n \n \n KeyError\n at /auth/api/v1/user/191/\n \n \n \n \n\n\n
\n

KeyError\n at /auth/api/v1/user/191/

\n
'organization'
\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Request Method:PUT
Request URL:http://127.0.0.1:8000/auth/api/v1/user/191/
Django Version:5.0
Exception Type:KeyError
Exception Value:
'organization'
Exception Location:D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 15, in has_permission
Raised during:apps.authentication.api.v1.api.UserViewSet
Python Executable:D:\\Software\\env\\Scripts\\python.exe
Python Version:3.12.0
Python Path:
['D:\\\\Project\\\\Rasaddam_Backend',\n 'D:\\\\Software\\\\python-3.12.0\\\\python312.zip',\n 'D:\\\\Software\\\\python-3.12.0\\\\DLLs',\n 'D:\\\\Software\\\\python-3.12.0\\\\Lib',\n 'D:\\\\Software\\\\python-3.12.0',\n 'D:\\\\Software\\\\env',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages',\n 'D:\\\\Software\\\\env\\\\Lib\\\\site-packages\\\\setuptools\\\\_vendor']
Server time:Mon, 19 May 2025 10:46:20 +0000
\n
\n\n\n\n\n
\n

Traceback \n Switch to copy-and-paste view\n

\n
\n
    \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\exception.py, line 55, in inner\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         return inner
    3. \n \n
    4.     else:
    5. \n \n
    6. \n \n
    7.         @wraps(get_response)
    8. \n \n
    9.         def inner(request):
    10. \n \n
    11.             try:
    12. \n \n
    \n \n
      \n
    1.                 response = get_response(request)\n                               ^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as exc:
    2. \n \n
    3.                 response = response_for_exception(request, exc)
    4. \n \n
    5.             return response
    6. \n \n
    7. \n \n
    8.         return inner
    9. \n \n
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('organization')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x0000026DE5C8CE30>>
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\core\\handlers\\base.py, line 197, in _get_response\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         if response is None:
    3. \n \n
    4.             wrapped_callback = self.make_view_atomic(callback)
    5. \n \n
    6.             # If it is an asynchronous view, run it in a subthread.
    7. \n \n
    8.             if iscoroutinefunction(wrapped_callback):
    9. \n \n
    10.                 wrapped_callback = async_to_sync(wrapped_callback)
    11. \n \n
    12.             try:
    13. \n \n
    \n \n
      \n
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             except Exception as e:
    2. \n \n
    3.                 response = self.process_exception_by_middleware(e, request)
    4. \n \n
    5.                 if response is None:
    6. \n \n
    7.                     raise
    8. \n \n
    9. \n \n
    10.         # Complain if the view returned None (a common error).
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    callback
    <function UserViewSet at 0x0000026DE5AB8180>
    callback_args
    ()
    callback_kwargs
    {'pk': '191'}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>>
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x0000026DE5C8CE30>
    wrapped_callback
    <function UserViewSet at 0x0000026DE5AB8180>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\django\\views\\decorators\\csrf.py, line 65, in _view_wrapper\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         async def _view_wrapper(request, *args, **kwargs):
    3. \n \n
    4.             return await view_func(request, *args, **kwargs)
    5. \n \n
    6. \n \n
    7.     else:
    8. \n \n
    9. \n \n
    10.         def _view_wrapper(request, *args, **kwargs):
    11. \n \n
    \n \n
      \n
    1.             return view_func(request, *args, **kwargs)\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     _view_wrapper.csrf_exempt = True
    3. \n \n
    4. \n \n
    5.     return wraps(view_func)(_view_wrapper)
    6. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'pk': '191'}
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    view_func
    <function UserViewSet at 0x0000026DE5AB80E0>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\viewsets.py, line 125, in view\n \n\n \n
    \n \n
      \n \n
    1.                 setattr(self, method, handler)
    2. \n \n
    3. \n \n
    4.             self.request = request
    5. \n \n
    6.             self.args = args
    7. \n \n
    8.             self.kwargs = kwargs
    9. \n \n
    10. \n \n
    11.             # And continue as usual
    12. \n \n
    \n \n
      \n
    1.             return self.dispatch(request, *args, **kwargs)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         # take name and docstring from class
    3. \n \n
    4.         update_wrapper(view, cls, updated=())
    5. \n \n
    6. \n \n
    7.         # and possible attributes set by decorators
    8. \n \n
    9.         # like csrf_exempt from dispatch
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    action
    'retrieve'
    actions
    {'delete': 'destroy',\n 'get': 'retrieve',\n 'head': 'retrieve',\n 'patch': 'partial_update',\n 'put': 'update'}
    args
    ()
    cls
    <class 'apps.authentication.api.v1.api.UserViewSet'>
    handler
    <bound method RetrieveModelMixin.retrieve of <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>>
    initkwargs
    {'basename': 'user', 'detail': True, 'suffix': 'Instance'}
    kwargs
    {'pk': '191'}
    method
    'head'
    request
    <WSGIRequest: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 515, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.                                   self.http_method_not_allowed)
    2. \n \n
    3.             else:
    4. \n \n
    5.                 handler = self.http_method_not_allowed
    6. \n \n
    7. \n \n
    8.             response = handler(request, *args, **kwargs)
    9. \n \n
    10. \n \n
    11.         except Exception as exc:
    12. \n \n
    \n \n
      \n
    1.             response = self.handle_exception(exc)\n                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         self.response = self.finalize_response(request, response, *args, **kwargs)
    3. \n \n
    4.         return self.response
    5. \n \n
    6. \n \n
    7.     def options(self, request, *args, **kwargs):
    8. \n \n
    9.         """
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'pk': '191'}
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 475, in handle_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         exception_handler = self.get_exception_handler()
    3. \n \n
    4. \n \n
    5.         context = self.get_exception_handler_context()
    6. \n \n
    7.         response = exception_handler(exc, context)
    8. \n \n
    9. \n \n
    10.         if response is None:
    11. \n \n
    \n \n
      \n
    1.             self.raise_uncaught_exception(exc)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.         response.exception = True
    3. \n \n
    4.         return response
    5. \n \n
    6. \n \n
    7.     def raise_uncaught_exception(self, exc):
    8. \n \n
    9.         if settings.DEBUG:
    10. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    context
    {'args': (),\n 'kwargs': {'pk': '191'},\n 'request': <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>,\n 'view': <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>}
    exc
    KeyError('organization')
    exception_handler
    <function exception_handler at 0x0000026DE5809BC0>
    response
    None
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 486, in raise_uncaught_exception\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def raise_uncaught_exception(self, exc):
    3. \n \n
    4.         if settings.DEBUG:
    5. \n \n
    6.             request = self.request
    7. \n \n
    8.             renderer_format = getattr(request.accepted_renderer, 'format')
    9. \n \n
    10.             use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
    11. \n \n
    12.             request.force_plaintext_errors(use_plaintext_traceback)
    13. \n \n
    \n \n
      \n
    1.         raise exc\n             ^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.     # Note: Views are made CSRF exempt from within `as_view` as to prevent
    3. \n \n
    4.     # accidental removal of this exemption in cases where `dispatch` needs to
    5. \n \n
    6.     # be overridden.
    7. \n \n
    8.     def dispatch(self, request, *args, **kwargs):
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    exc
    KeyError('organization')
    renderer_format
    'json'
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    use_plaintext_traceback
    True
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 503, in dispatch\n \n\n \n
    \n \n
      \n \n
    1.         self.args = args
    2. \n \n
    3.         self.kwargs = kwargs
    4. \n \n
    5.         request = self.initialize_request(request, *args, **kwargs)
    6. \n \n
    7.         self.request = request
    8. \n \n
    9.         self.headers = self.default_response_headers  # deprecate?
    10. \n \n
    11. \n \n
    12.         try:
    13. \n \n
    \n \n
      \n
    1.             self.initial(request, *args, **kwargs)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1. \n \n
    2.             # Get the appropriate handler method
    3. \n \n
    4.             if request.method.lower() in self.http_method_names:
    5. \n \n
    6.                 handler = getattr(self, request.method.lower(),
    7. \n \n
    8.                                   self.http_method_not_allowed)
    9. \n \n
    10.             else:
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'pk': '191'}
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 421, in initial\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.         # Determine the API version, if versioning is in use.
    3. \n \n
    4.         version, scheme = self.determine_version(request, *args, **kwargs)
    5. \n \n
    6.         request.version, request.versioning_scheme = version, scheme
    7. \n \n
    8. \n \n
    9.         # Ensure that the incoming request is permitted
    10. \n \n
    11.         self.perform_authentication(request)
    12. \n \n
    \n \n
      \n
    1.         self.check_permissions(request)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.         self.check_throttles(request)
    2. \n \n
    3. \n \n
    4.     def finalize_response(self, request, response, *args, **kwargs):
    5. \n \n
    6.         """
    7. \n \n
    8.         Returns the final response object.
    9. \n \n
    10.         """
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    args
    ()
    kwargs
    {'pk': '191'}
    neg
    (<rest_framework.renderers.JSONRenderer object at 0x0000026DE621A210>,\n 'application/json')
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    scheme
    None
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    version
    None
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Software\\env\\Lib\\site-packages\\rest_framework\\views.py, line 338, in check_permissions\n \n\n \n
    \n \n
      \n \n
    1. \n \n
    2.     def check_permissions(self, request):
    3. \n \n
    4.         """
    5. \n \n
    6.         Check if the request should be permitted.
    7. \n \n
    8.         Raises an appropriate exception if the request is not permitted.
    9. \n \n
    10.         """
    11. \n \n
    12.         for permission in self.get_permissions():
    13. \n \n
    \n \n
      \n
    1.             if not permission.has_permission(request, self):\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.                 self.permission_denied(
    2. \n \n
    3.                     request,
    4. \n \n
    5.                     message=getattr(permission, 'message', None),
    6. \n \n
    7.                     code=getattr(permission, 'code', None)
    8. \n \n
    9.                 )
    10. \n \n
    11. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    permission
    <apps.authentication.permissions.CreateUser object at 0x0000026DE5E93980>
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n \n
  • \n \n D:\\Project\\Rasaddam_Backend\\apps\\authentication\\permissions.py, line 15, in has_permission\n \n\n \n
    \n \n
      \n \n
    1.     @permission: superuser can add users
    2. \n \n
    3.     """
    4. \n \n
    5. \n \n
    6.     def has_permission(self, request, view):
    7. \n \n
    8.         user_level_info = self.get_user_permissions(request, view)
    9. \n \n
    10.         if 'superuser' in user_level_info['permissions']:
    11. \n \n
    12.             org_type = OrganizationType.objects.get(  # noqa
    13. \n \n
    \n \n
      \n
    1.                 id=request.data['organization']['type']\n                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      \u2026
    2. \n
    \n \n
      \n \n
    1.             )
    2. \n \n
    3.             print(org_type.key)
    4. \n \n
    5.             if 'J' in user_level_info['organization_type']:
    6. \n \n
    7.                 return True
    8. \n \n
    9.             if 'U' in user_level_info['organization_type']:
    10. \n \n
    11.                 if org_type.key == 'J' or org_type.key == 'U':
    12. \n \n
    \n \n
    \n \n\n \n \n
    \n Local vars\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    VariableValue
    request
    <rest_framework.request.Request: PUT '/auth/api/v1/user/191/'>
    self
    <apps.authentication.permissions.CreateUser object at 0x0000026DE5E93980>
    user_level_info
    {'organization_type': ['J'], 'permissions': ['test', 'superuser']}
    view
    <apps.authentication.api.v1.api.UserViewSet object at 0x0000026DE6218950>
    \n
    \n \n
  • \n \n
\n
\n\n
\n
\n \n \n \n \n \n

\n \n
\n
\n\n
\n\n\n
\n

Request information

\n\n\n \n

USER

\n

moji \u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc-None

\n \n\n

GET

\n \n

No GET data

\n \n\n

POST

\n \n

No POST data

\n \n\n

FILES

\n \n

No FILES data

\n \n\n

COOKIES

\n \n

No cookie data

\n \n\n

META

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
VariableValue
ALLUSERSPROFILE
'C:\\\\ProgramData'
APPCODE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\appcode.vmoptions'
APPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming'
CLION_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\clion.vmoptions'
COMMONPROGRAMFILES
'C:\\\\Program Files\\\\Common Files'
COMMONPROGRAMFILES(X86)
'C:\\\\Program Files (x86)\\\\Common Files'
COMMONPROGRAMW6432
'C:\\\\Program Files\\\\Common Files'
COMPUTERNAME
'DESKTOP-77GDGLN'
COMSPEC
'C:\\\\Windows\\\\system32\\\\cmd.exe'
CONTENT_LENGTH
'623'
CONTENT_TYPE
'application/json'
DATAGRIP_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\datagrip.vmoptions'
DATASPELL_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\dataspell.vmoptions'
DEVECOSTUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\devecostudio.vmoptions'
DJANGO_SETTINGS_MODULE
'Rasaddam_Backend.settings'
DRIVERDATA
'C:\\\\Windows\\\\System32\\\\Drivers\\\\DriverData'
EFC_2928
'1'
FPS_BROWSER_APP_PROFILE_STRING
'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING
'Default'
GATEWAY_INTERFACE
'CGI/1.1'
GATEWAY_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\gateway.vmoptions'
GOLAND_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\goland.vmoptions'
HOMEDRIVE
'C:'
HOMEPATH
'\\\\Users\\\\Housh8'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, deflate, br'
HTTP_AUTHORIZATION
('Bearer '\n 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQ3NzE3MDIwLCJpYXQiOjE3NDc2MzA2MjAsImp0aSI6ImM1ZjNiYTcxNGZkODRjMzdhOTdlMzkzOGY4ZWRkM2I4IiwidXNlcl9pZCI6MiwibmFtZSI6Im1vamkiLCJtb2JpbGUiOiIwOTM4OTY1NyIsIm5hdGlvbmFsX2NvZGUiOiI0MDYxMDgwNTk4In0.ZuYWeAbMGBCMXoUkUTAsff3mVEnI5K7A7Exq4BRE4qs')
HTTP_CACHE_CONTROL
'no-cache'
HTTP_CONNECTION
'keep-alive'
HTTP_HOST
'127.0.0.1:8000'
HTTP_POSTMAN_TOKEN
'********************'
HTTP_USER_AGENT
'PostmanRuntime/7.43.4'
IDEA_INITIAL_DIRECTORY
'C:\\\\Users\\\\Housh8\\\\Desktop'
IDEA_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\idea.vmoptions'
JETBRAINSCLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrainsclient.vmoptions'
JETBRAINS_CLIENT_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\jetbrains_client.vmoptions'
LOCALAPPDATA
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local'
LOGONSERVER
'\\\\\\\\DESKTOP-77GDGLN'
NODEJS
'C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start Menu\\\\Programs\\\\Node.js'
NUMBER_OF_PROCESSORS
'4'
NVM_HOME
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm'
NVM_SYMLINK
'C:\\\\nvm4w\\\\nodejs'
ONEDRIVE
'C:\\\\Users\\\\Housh8\\\\OneDrive'
OS
'Windows_NT'
PATH
('D:\\\\Software\\\\env\\\\Scripts;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PATH_INFO
'/auth/api/v1/user/191/'
PHPSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\phpstorm.vmoptions'
PROCESSOR_ARCHITECTURE
'AMD64'
PROCESSOR_IDENTIFIER
'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL
'6'
PROCESSOR_REVISION
'9e09'
PROGRAMDATA
'C:\\\\ProgramData'
PROGRAMFILES
'C:\\\\Program Files'
PROGRAMFILES(X86)
'C:\\\\Program Files (x86)'
PROGRAMW6432
'C:\\\\Program Files'
PROMPT
'(env) $P$G'
PSMODULEPATH
('C:\\\\Program '\n 'Files\\\\WindowsPowerShell\\\\Modules;C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules')
PUBLIC
'C:\\\\Users\\\\Public'
PYCHARM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\pycharm.vmoptions'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_HOST
''
REQUEST_METHOD
'PUT'
RIDER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rider.vmoptions'
RUBYMINE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\rubymine.vmoptions'
RUN_MAIN
'true'
RUSTROVER_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\RustRover.vmoptions'
SCRIPT_NAME
''
SERVER_NAME
'DESKTOP-77GDGLN'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.2'
SESSIONNAME
'Console'
STUDIO_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\studio.vmoptions'
SYSTEMDRIVE
'C:'
SYSTEMROOT
'C:\\\\Windows'
TEMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
TERMINAL_EMULATOR
'JetBrains-JediTerm'
TERM_SESSION_ID
'181c393d-4cd4-4ec7-a0fc-e92a969fb882'
TMP
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Temp'
USERDOMAIN
'DESKTOP-77GDGLN'
USERDOMAIN_ROAMINGPROFILE
'DESKTOP-77GDGLN'
USERNAME
'Housh8'
USERPROFILE
'C:\\\\Users\\\\Housh8'
VIRTUAL_ENV
'D:\\\\Software\\\\env'
WEBIDE_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webide.vmoptions'
WEBSTORM_VM_OPTIONS
'C:\\\\ja-netfilter\\\\vmoptions\\\\webstorm.vmoptions'
WINDIR
'C:\\\\Windows'
_OLD_VIRTUAL_PATH
('C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Windows\\\\System32\\\\OpenSSH\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Program '\n 'Files\\\\Git\\\\cmd;C:\\\\Program '\n 'Files\\\\nodejs\\\\;D:\\\\Software\\\\python-3.12.0\\\\Scripts\\\\;D:\\\\Software\\\\python-3.12.0\\\\;D:\\\\Software\\\\python\\\\Scripts\\\\;D:\\\\Software\\\\python\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Launcher\\\\;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\Programs\\\\Microsoft '\n 'VS '\n 'Code\\\\bin;C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\nvm;C:\\\\nvm4w\\\\nodejs;C:\\\\Users\\\\Housh8\\\\AppData\\\\Roaming\\\\npm')
_OLD_VIRTUAL_PROMPT
'$P$G'
__INTELLIJ_COMMAND_HISTFILE__
'C:\\\\Users\\\\Housh8\\\\AppData\\\\Local\\\\JetBrains\\\\PyCharm2021.3\\\\terminal\\\\history\\\\Rasaddam_Backend-history'
wsgi.errors
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
wsgi.file_wrapper
<class 'wsgiref.util.FileWrapper'>
wsgi.input
<django.core.handlers.wsgi.LimitedStream object at 0x0000026DE6218460>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
\n\n\n

Settings

\n

Using settings module Rasaddam_Backend.settings

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SettingValue
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ALLOWED_HOSTS
['localhost', '127.0.0.1', 'https://rasadyar.net/', 'https://localhost:9200']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'authentication.User'
BASE_DIR
WindowsPath('D:/Project/Rasaddam_Backend')
CACHES
{'default': {'BACKEND': 'django_redis.cache.RedisCache',\n             'KEY_PREFIX': '********************',\n             'LOCATION': 'redis://:ydnW4hwzuDRYcTX3FWCHgQ1f@apo.liara.cloud:33740/0',\n             'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},\n 'memcache': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',\n              'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CORS_ALLOWED_ORIGINS
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CORS_ORIGIN_ALLOW_ALL
True
CORS_ORIGIN_WHITELIST
('http://localhost:8080',\n 'http://127.0.0.1:8080',\n 'http://127.0.0.1:3000',\n 'http://localhost:3000',\n 'https://rasadyar.net')
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SAMESITE
'Lax'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,\n             'AUTOCOMMIT': True,\n             'CONN_HEALTH_CHECKS': False,\n             'CONN_MAX_AGE': 0,\n             'ENGINE': 'django.db.backends.postgresql_psycopg2',\n             'HOST': 'monte-rosa.liara.cloud',\n             'NAME': 'postgres',\n             'OPTIONS': {},\n             'PASSWORD': '********************',\n             'PORT': '32718',\n             'TEST': {'CHARSET': None,\n                      'COLLATION': None,\n                      'MIGRATE': True,\n                      'MIRROR': None,\n                      'NAME': None},\n             'TIME_ZONE': None,\n             'USER': 'root'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
50242880
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATA_UPLOAD_MAX_NUMBER_FILES
100
DATETIME_FORMAT
'%Y-%m-%d %H:%M:%S'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',\n '%Y-%m-%d %H:%M:%S.%f',\n '%Y-%m-%d %H:%M',\n '%m/%d/%Y %H:%M:%S',\n '%m/%d/%Y %H:%M:%S.%f',\n '%m/%d/%Y %H:%M',\n '%m/%d/%y %H:%M:%S',\n '%m/%d/%y %H:%M:%S.%f',\n '%m/%d/%y %H:%M']
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
['%Y-%m-%d',\n '%m/%d/%Y',\n '%m/%d/%y',\n '%b %d %Y',\n '%b %d, %Y',\n '%d %b %Y',\n '%d %b, %Y',\n '%B %d %Y',\n '%B %d, %Y',\n '%d %B %Y',\n '%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_AUTO_FIELD
'django.db.models.BigAutoField'
DEFAULT_CHARSET
'utf-8'
DEFAULT_EXCEPTION_REPORTER
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
ELASTICSEARCH_DSL
{'default': {'hosts': 'http://monte-rosa.liara.cloud:31157',\n             'http_auth': ('elastic', 'uYkiQ860vLW8DIbWpNjqtz2B')}}
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
420
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORMS_URLFIELD_ASSUME_HTTPS
False
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django_elasticsearch_dsl',\n 'django_elasticsearch_dsl_drf',\n 'rest_framework',\n 'corsheaders',\n 'rest_framework_simplejwt',\n 'rest_framework_simplejwt.token_blacklist',\n 'apps.authentication.apps.AuthenticationConfig',\n 'apps.authorization.apps.AuthorizationConfig',\n 'apps.captcha_app.apps.CaptchaAppConfig',\n 'apps.core.apps.CoreConfig',\n 'apps.herd.apps.HerdAppConfig',\n 'apps.livestock.apps.LivestockConfig',\n 'apps.pos_machine.apps.PosMachineConfig',\n 'apps.tag.apps.TagConfig',\n 'apps.warehouse.apps.WarehouseConfig',\n 'apps.search.apps.SearchConfig',\n 'apps.log.apps.LogConfig',\n 'rest_captcha',\n 'captcha',\n 'drf_yasg']
INTERNAL_IPS
[]
LANGUAGES
[('af', 'Afrikaans'),\n ('ar', 'Arabic'),\n ('ar-dz', 'Algerian Arabic'),\n ('ast', 'Asturian'),\n ('az', 'Azerbaijani'),\n ('bg', 'Bulgarian'),\n ('be', 'Belarusian'),\n ('bn', 'Bengali'),\n ('br', 'Breton'),\n ('bs', 'Bosnian'),\n ('ca', 'Catalan'),\n ('ckb', 'Central Kurdish (Sorani)'),\n ('cs', 'Czech'),\n ('cy', 'Welsh'),\n ('da', 'Danish'),\n ('de', 'German'),\n ('dsb', 'Lower Sorbian'),\n ('el', 'Greek'),\n ('en', 'English'),\n ('en-au', 'Australian English'),\n ('en-gb', 'British English'),\n ('eo', 'Esperanto'),\n ('es', 'Spanish'),\n ('es-ar', 'Argentinian Spanish'),\n ('es-co', 'Colombian Spanish'),\n ('es-mx', 'Mexican Spanish'),\n ('es-ni', 'Nicaraguan Spanish'),\n ('es-ve', 'Venezuelan Spanish'),\n ('et', 'Estonian'),\n ('eu', 'Basque'),\n ('fa', 'Persian'),\n ('fi', 'Finnish'),\n ('fr', 'French'),\n ('fy', 'Frisian'),\n ('ga', 'Irish'),\n ('gd', 'Scottish Gaelic'),\n ('gl', 'Galician'),\n ('he', 'Hebrew'),\n ('hi', 'Hindi'),\n ('hr', 'Croatian'),\n ('hsb', 'Upper Sorbian'),\n ('hu', 'Hungarian'),\n ('hy', 'Armenian'),\n ('ia', 'Interlingua'),\n ('id', 'Indonesian'),\n ('ig', 'Igbo'),\n ('io', 'Ido'),\n ('is', 'Icelandic'),\n ('it', 'Italian'),\n ('ja', 'Japanese'),\n ('ka', 'Georgian'),\n ('kab', 'Kabyle'),\n ('kk', 'Kazakh'),\n ('km', 'Khmer'),\n ('kn', 'Kannada'),\n ('ko', 'Korean'),\n ('ky', 'Kyrgyz'),\n ('lb', 'Luxembourgish'),\n ('lt', 'Lithuanian'),\n ('lv', 'Latvian'),\n ('mk', 'Macedonian'),\n ('ml', 'Malayalam'),\n ('mn', 'Mongolian'),\n ('mr', 'Marathi'),\n ('ms', 'Malay'),\n ('my', 'Burmese'),\n ('nb', 'Norwegian Bokm\u00e5l'),\n ('ne', 'Nepali'),\n ('nl', 'Dutch'),\n ('nn', 'Norwegian Nynorsk'),\n ('os', 'Ossetic'),\n ('pa', 'Punjabi'),\n ('pl', 'Polish'),\n ('pt', 'Portuguese'),\n ('pt-br', 'Brazilian Portuguese'),\n ('ro', 'Romanian'),\n ('ru', 'Russian'),\n ('sk', 'Slovak'),\n ('sl', 'Slovenian'),\n ('sq', 'Albanian'),\n ('sr', 'Serbian'),\n ('sr-latn', 'Serbian Latin'),\n ('sv', 'Swedish'),\n ('sw', 'Swahili'),\n ('ta', 'Tamil'),\n ('te', 'Telugu'),\n ('tg', 'Tajik'),\n ('th', 'Thai'),\n ('tk', 'Turkmen'),\n ('tr', 'Turkish'),\n ('tt', 'Tatar'),\n ('udm', 'Udmurt'),\n ('ug', 'Uyghur'),\n ('uk', 'Ukrainian'),\n ('ur', 'Urdu'),\n ('uz', 'Uzbek'),\n ('vi', 'Vietnamese'),\n ('zh-hans', 'Simplified Chinese'),\n ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_HTTPONLY
False
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LANGUAGE_COOKIE_SAMESITE
None
LANGUAGE_COOKIE_SECURE
False
LOCALE_PATHS
[]
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'rest_framework:login'
LOGOUT_REDIRECT_URL
None
LOGOUT_URL
'rest_framework:logout'
MANAGERS
[]
MEDIA_ROOT
''
MEDIA_URL
'/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n 'crum.CurrentRequestUserMiddleware',\n 'apps.log.middlewares.SaveLog']
MIGRATION_MODULES
{}
MONGODB_DATABASES
{'default': {'host': '', 'name': 'mongodb', 'tz_aware': True}}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT
'********************'
PREPEND_WWW
False
REST_CAPTCHA
{'CAPTCHA_BACKGROUND_COLOR': '#ffffff',\n 'CAPTCHA_CACHE': 'default',\n 'CAPTCHA_CACHE_KEY': '********************',\n 'CAPTCHA_FONT_SIZE': 35,\n 'CAPTCHA_FOREGROUND_COLOR': '#000000',\n 'CAPTCHA_IMAGE_SIZE': (90, 20),\n 'CAPTCHA_LENGTH': 6,\n 'CAPTCHA_LETTER_ROTATION': (-35, 35),\n 'CAPTCHA_TIMEOUT': 300,\n 'FILTER_FUNCTION': 'rest_captcha.captcha.filter_default',\n 'NOISE_FUNCTION': 'apps.captcha_app.api.v1.serializers.noise_default'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',\n                                    'rest_framework.authentication.SessionAuthentication',\n                                    'rest_framework.authentication.BasicAuthentication'),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',\n 'PAGE_SIZE': 25}
ROOT_URLCONF
'Rasaddam_Backend.urls'
SECRET_KEY
'********************'
SECRET_KEY_FALLBACKS
'********************'
SECURE_CONTENT_TYPE_NOSNIFF
True
SECURE_CROSS_ORIGIN_OPENER_POLICY
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_REDIRECT_EXEMPT
[]
SECURE_REFERRER_POLICY
'same-origin'
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SAMESITE
'Lax'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'Rasaddam_Backend.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SIMPLE_JWT
{'ACCESS_TOKEN_LIFETIME': '********************',\n 'ALGORITHM': 'HS256',\n 'AUDIENCE': None,\n 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION',\n 'AUTH_HEADER_TYPES': ('Bearer',),\n 'AUTH_TOKEN_CLASSES': '********************',\n 'BLACKLIST_AFTER_ROTATION': False,\n 'ISSUER': None,\n 'JSON_ENCODER': None,\n 'JTI_CLAIM': 'jti',\n 'JWK_URL': None,\n 'LEEWAY': 0,\n 'REFRESH_TOKEN_LIFETIME': '********************',\n 'ROTATE_REFRESH_TOKENS': '********************',\n 'SIGNING_KEY': '********************',\n 'SLIDING_TOKEN_LIFETIME': '********************',\n 'SLIDING_TOKEN_OBTAIN_SERIALIZER': '********************',\n 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': '********************',\n 'SLIDING_TOKEN_REFRESH_LIFETIME': '********************',\n 'SLIDING_TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_BLACKLIST_SERIALIZER': '********************',\n 'TOKEN_OBTAIN_SERIALIZER': '********************',\n 'TOKEN_REFRESH_SERIALIZER': '********************',\n 'TOKEN_TYPE_CLAIM': '********************',\n 'TOKEN_USER_CLASS': '********************',\n 'TOKEN_VERIFY_SERIALIZER': '********************',\n 'UPDATE_LAST_LOGIN': False,\n 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule',\n 'USER_ID_CLAIM': 'user_id',\n 'USER_ID_FIELD': 'id',\n 'VERIFYING_KEY': '********************'}
STATICFILES_DIRS
[]
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
STORAGES
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},\n 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
SWAGGER_SETTINGS
{'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',\n                                     'name': 'Authorization',\n                                     'type': 'apiKey'},\n                          'basic': {'type': 'basic'}},\n 'USE_SESSION_AUTH': True}
TEMPLATES
[{'APP_DIRS': True,\n  'BACKEND': 'django.template.backends.django.DjangoTemplates',\n  'DIRS': [],\n  'OPTIONS': {'context_processors': ['django.template.context_processors.request',\n                                     'django.contrib.auth.context_processors.auth',\n                                     'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'UTC'
USE_I18N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'Rasaddam_Backend.wsgi.application'
X_FRAME_OPTIONS
'DENY'
YEAR_MONTH_FORMAT
'F Y'
\n\n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in your\n Django settings file. Change that to False, and Django will\n display a standard page generated by the handler for this status code.\n

\n
\n\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:16:20.095508", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "553": {"endpoint": "/auth/api/v1/user/191/", "response_code": 403, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 611, "body_response": "{\"detail\":\"You do not have permission to perform this action.\"}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:17:47.002768", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "554": {"endpoint": "/auth/api/v1/user/191/", "response_code": 200, "method": "PUT", "remote_address": "127.0.0.1", "exec_time": 1608, "body_response": "{\"username\":\"mostafaz\",\"password\":\"moji1234s\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\",\"is_active\":true,\"mobile\":\"09389657326\",\"phone\":\"33322627\",\"national_code\":\"4061080598\",\"birthdate\":\"2025-05-07T10:47:24.520088Z\",\"nationality\":\"\u0627\u06cc\u0631\u0627\u0646\u06cc\",\"ownership\":\"N\",\"address\":\"\u06a9\u0631\u062c\u060c \u06af\u0644\u0634\u0647\u0631\u060c \u0628\u0644\u0648\u0627\u0631 \u062d\u062f\u0627\u062f\u06cc\",\"photo\":\"ssss\",\"province\":1,\"city\":1,\"otp_status\":false,\"organization\":{},\"user_relations\":{},\"bank_account\":{}}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:09.084087", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "555": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 10, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazzz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazzz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:17.665861"}, "556": {"endpoint": "/search/api/v1/user_elastic/mostafazzz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 754, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mostafazzz\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"122587\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:18.585126", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "557": {"endpoint": "/search/api/v1/user_elastic/mostafaz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafaz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafaz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafaz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:24.312803"}, "558": {"endpoint": "/search/api/v1/user_elastic/mostafaz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 317, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:24.800619", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "559": {"endpoint": "/search/api/v1/user_elastic/mostafazz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:29.815896"}, "560": {"endpoint": "/search/api/v1/user_elastic/mostafazz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 346, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:30.330605", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "561": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazzz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazzz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:33.585267"}, "562": {"endpoint": "/search/api/v1/user_elastic/mostafazzz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 326, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mostafazzz\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"122587\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:34.075811", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "563": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazzz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazzz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:56.347737"}, "564": {"endpoint": "/search/api/v1/user_elastic/mostafazzz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 346, "body_response": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"user\":{\"username\":\"mostafazzz\",\"mobile\":\"09389657326\",\"national_code\":\"4061080598\",\"first_name\":\"mojtaba\",\"last_name\":\"zolfaghari\"},\"organization\":{\"name\":\"\u062a\u0639\u0627\u0648\u0646\u06cc \u062f\u0627\u0645\u062f\u0627\u0631\u0627\u0646 \u0639\u0628\u062f\u0644 \u0622\u0628\u0627\u062f\",\"type\":{\"key\":\"U\"},\"national_unique_id\":\"122587\",\"field_of_activity\":\"EM\",\"company_code\":\"empty\",\"province\":{\"name\":\"\u0627\u0644\u0628\u0631\u0632\"},\"city\":{\"name\":\"\u06a9\u0631\u062c\"},\"parent_organization\":{\"name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646 \u0647\u0645\u062f\u0627\u0646\"}},\"role\":{\"role_name\":\"\u062c\u0647\u0627\u062f \u0627\u0633\u062a\u0627\u0646\"}}]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:18:56.859646", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "565": {"endpoint": "/search/api/v1/user_elastic/mostafazz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 4, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:19:01.468077"}, "566": {"endpoint": "/search/api/v1/user_elastic/mostafazz/", "response_code": 200, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 313, "body_response": "{\"count\":0,\"next\":null,\"previous\":null,\"results\":[]}", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:19:01.955622", "user": "[{\"model\": \"authentication.user\", \"pk\": 2, \"fields\": {\"password\": \"pbkdf2_sha256$720000$n4WhejiwiZ1imDgkHKsQhe$aU2wEQj79wZIh/C6PnE6opbBhTC0SATu7Emv7wuQkXs=\", \"last_login\": null, \"is_superuser\": false, \"username\": \"moji\", \"first_name\": \"\u0645\u062c\u062a\u0628\u06cc\", \"last_name\": \"\u0630\u0648\u0627\u0644\u0641\u0642\u0627\u0631\u06cc\", \"email\": \"moji@gmail.com\", \"is_staff\": true, \"is_active\": true, \"date_joined\": \"2025-05-05T07:56:07.933Z\", \"create_date\": \"2025-05-05T07:56:08.109Z\", \"modify_date\": \"2025-05-05T07:56:08.109Z\", \"created_by\": null, \"modified_by\": null, \"creator_info\": null, \"modifier_info\": null, \"trash\": false, \"mobile\": \"09389657\", \"phone\": null, \"national_code\": \"4061080598\", \"birthdate\": null, \"nationality\": null, \"ownership\": \"N\", \"address\": null, \"photo\": null, \"province\": null, \"city\": null, \"otp_status\": false, \"is_herd_owner\": false, \"groups\": [], \"user_permissions\": []}}]"}, "567": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 7, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n\n
\n

Page not found (404)

\n \n \n \n \n \n \n \n \n \n \n \n
Request Method:GET
Request URL:http://127.0.0.1:8000/search/api/v1/user_elastic/mostafazzz
\n
\n
\n \n

\n Using the URLconf defined in Rasaddam_Backend.urls,\n Django tried these URL patterns, in this order:\n

\n
    \n \n
  1. \n \n admin/\n \n \n
  2. \n \n
  3. \n \n api-auth/\n \n \n
  4. \n \n
  5. \n \n auth/\n \n \n
  6. \n \n
  7. \n \n auth/\n \n \n
  8. \n \n
  9. \n \n \n \n \n captcha/\n [name='captcha']\n \n
  10. \n \n
  11. \n \n \n \n \n core/\n \n \n
  12. \n \n
  13. \n \n herd/\n \n \n
  14. \n \n
  15. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n \n [name='api-root']\n \n
  16. \n \n
  17. \n \n search/\n \n \n api/v1/\n \n \n \n \n \n <drf_format_suffix:format>\n [name='api-root']\n \n
  18. \n \n
  19. \n \n search/\n \n \n api/v1/\n \n \n user_elastic/<str:query>/\n \n \n
  20. \n \n
  21. \n \n swagger/\n [name='schema-swagger-ui']\n \n
  22. \n \n
\n

\n \n The current path, search/api/v1/user_elastic/mostafazzz,\n \n didn\u2019t match any of these.\n

\n \n
\n\n
\n

\n You\u2019re seeing this error because you have DEBUG = True in\n your Django settings file. Change that to False, and Django\n will display a standard 404 page.\n

\n
\n\n\n", "client_ip": "127.0.0.1", "browser_info": "PostmanRuntime/7.43.4", "log_created_at": "2025-05-19 14:27:34.388479"}, "568": {"endpoint": "/search/api/v1/user_elastic/mostafazzz", "response_code": 404, "method": "GET", "remote_address": "127.0.0.1", "exec_time": 5, "body_response": "\n\n\n \n Page not found at /search/api/v1/user_elastic/mostafazzz\n \n \n\n \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index de62ec2..4656d07 100644 --- a/requirements.txt +++ b/requirements.txt @@ -70,4 +70,6 @@ pymemcache elasticsearch==8.11.0 elasticsearch-dsl==8.11.0 django-elasticsearch-dsl==8.0 -django_elasticsearch_dsl_drf \ No newline at end of file +django_elasticsearch_dsl_drf +django-crum +django-rest-swagger \ No newline at end of file