adding device into django