Def find (request) :
Region=request. POST. Get (" region ", None)
Message=None
All_message=invitation. Objects (region=region)
If all_message:
Message=all_message [0]
Return render (request, 'find. HTML, message)
Here is the HTML code:
The company & lt;/th> | Contact & lt;/th> | Telephone & lt;/th> | Address & lt;/th> | Scope of business & lt;/th> | Legal person & lt;/th> | Type & lt;/th> | Set up a time & lt;/th> | The registered capital & lt;/th> | The number of employees & lt;/th> | The url & lt;/th> | Regional & lt;/th> | Source & lt;/th> | Company introduction & lt;/th> | Industry & lt;/th> |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pany} {{item.com} & lt;/td> | {{item. Contacts}} & lt;/td> | {{item. Telephone}} & lt;/td> | {{item. The address}} & lt;/td> | {{item. The product}} & lt;/td> | {{item. The person}} & lt;/td> | {{item. Type}} & lt;/td> | {{item. Time}} & lt;/td> | {{item. Capital}} & lt;/td> | {{item. Number}} & lt;/td> | {{item. Web}} & lt;/td> | {{item. Region}} & lt;/td> | {{item. Source}} & lt;/td> | {{item. Introduce}} & lt;/td> | {{item. Industry}} & lt;/a> |