I want to get the mac from a device when the device runs or accesses the URL: 127.0.0.1/Response, which is defined in URLs such as: url (r '^ answer $', app.views.resviewViewiew, name = 'Reply'),
from uuid import getnode as get_mac
def respuestaView(request):
mac = get_mac()
mac = ':'.join(("%012X" % mac)[i:i+2] for i in range(0, 12, 2))
mac returns the MAC of the device where the application is running BUT not the mac of the device who accessed the URL: 127.0.0.1/Response