lundi 23 septembre 2019

How I can compare the entered input value with the value of API in Django

Nowadays, I am trying to make a Post-Office Assistant web-site using Django.

The things I have to do are:

  1. Creating homepage with a search input and submit button
  2. Getting the entered input value (namely, order ID) and compare it with the values (order IDs) in my API.
  3. If the value (order ID) is the same with any value (order ID) show the details of value (order ID) in my API.

  4. Otherwise show "There is no any profile with this order ID".

Can anyone help me to create this website? Can anyone create and share source code as zip format with me?


Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire