Home > Software design >  How to pass parameter to integrate multi interface by Django request? [closed]
How to pass parameter to integrate multi interface by Django request? [closed]

Time:09-17

How could I integrate them to one or two interface then using parameter to split them in function?

CodePudding user response:

You can use django generic class based views.

For example if you use ListView it by default supports get requests, but if you wish you can add post method also

CodePudding user response:

I got the solution. Use request.data[]=='' to parse the different command.

  • Related