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

feat!: upgrade certificate_exception_view to DRF ( 28 ) #35594

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

awais786
Copy link
Contributor

@awais786 awais786 commented Oct 4, 2024

Issues

Test via postman

  1. Try this URL in postman as post.

  2. form-data

    • `notes` = 'testing` this is optional param
      
    •   you can pass username or email as key e.g 
          user_name = admin 
          or
          user_email = [email protected]
      

expected result

{
    "id": 14,
    "user_email": "[email protected]",
    "user_name": "admin",
    "user_id": 4,
    "certificate_generated": null,
    "created": "October 05, 2024"
}

Delete method testing
You can repeat above test with delete action as well and it will remove the data and return 204 status code.


Test via dashboard

  1. Go to this URL
  2. Go to Individual Exceptions section
Screenshot 2024-10-05 at 5 52 37 PM

expected result
admin has been successfully added to the exception list. Click Generate Exception Certificate below to send the certificate.

Also this api finally adding data inside this table
http://local.edly.io:8000/admin/certificates/certificateallowlist/

@awais786 awais786 changed the title Certificate exception view to drf feat!: upgrade certificate_exception_view to DRF ( 28 ) Oct 4, 2024
@awais786 awais786 marked this pull request as ready for review October 5, 2024 13:32
@awais786 awais786 requested a review from feanil October 5, 2024 13:48
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.

1 participant