Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logging issue for rt #1085

Merged
merged 6 commits into from
Jun 28, 2024
Merged

Fix logging issue for rt #1085

merged 6 commits into from
Jun 28, 2024

Conversation

Pursottam6003
Copy link
Collaborator

Description

Updated the logging issue for romanised transliteartion

It would be in this format

  {
    "source_english_text": "demo_user",
    "indic_translation_text": "demo_password",
    "romanised_text": "normal romanized",
    "edited_romanised_text": "edited text",
    "language": "english",
    "timestamp": "2024-06-22T20:20:49.951048"
  },
  {
    "source_english_text": "new_data_text",
    "indic_translation_text": "demo_password_new",
    "romanised_text": "normal romanized_new",
    "edited_romanised_text": "edited text_new",
    "language": "bangla",
    "timestamp": "2024-06-22T20:26:36.803421"
  }
]```
Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [X]] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

# How Has This Been Tested?

Please describe the tests / checks that you performed to verify your changes. Provide instructions so we can reproduce. Please delete options that are not relevant.

- [x] Tested the API endpoint on Swagger with the 'Try it out' feature
- [X] Tested the Models using the Django Shell
- [ ] Any other tests you performed for checking edge cases.
- [ ] Any other tests you performed for checking exceptions.

# Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas

## Checklist for Models

If you added new models / made changes to exsting models, please fill this checklist. 

- [ ] The primary key of the Model is an AutoField
- [ ] I have defined the `__str__` method for the Model
- [ ] If the field is optional, it has been spcified explicitly
- [ ] I have added a `verbose_name` for each Field.
- [ ] I have added a docstring for the Model
- [ ] The model is registered on Admin Site.
- [ ] I have pushed the migrations.

## Checklist for API

If you added new api endpoints / made changes to exsting endpoints, please fill this checklist. 

- [ ] The endpoint is accessible through Swagger.
- [ ] The endpoint supports permissions and authentication for different roles.
- [ ] All exceptions have been handled and appropriate status code is returned to the user.
- [ ] I have added docstrings for ViewSets / Serializers.

@ishvindersethi22 ishvindersethi22 merged commit dfb5a93 into dev Jun 28, 2024
1 check passed
@ishvindersethi22 ishvindersethi22 deleted the new-logging-branch branch June 28, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants