U
    d:                     @   sD   d dl mZ d dlmZ d dl mZ d dlZd dlmZ dd ZdS )    )render)messages)redirectN)HttpResponsec                 C   s8   t d}| }|d }|dkr&g }t| dd|idS )NzDhttps://thingsaccess.com/rfid/index.php/Api/getMachineOperatorBundleresponse   z0machineOperatorBundle/machineOperatorBundle.html
data_steps)context)requestsgetjsonr   )requestr   	data_sendr    r   ;/var/www/html/myproject/core/machineOperatorBundle/views.pyMoperatorBundle_page	   s    
r   )	django.shortcutsr   django.contribr   r   r
   django.httpr   r   r   r   r   r   <module>   s
   