1. Add the following in the settings file
    INSTALLED_APPS = (
    .......
    'rest_framework.authtoken',
    )
 2. In the PUBLIC_URLS add the url configuration to support the api calls
     re.compile(r'^/folder/'),
 3. Change the url configration file to support the api urls
    url(r'^client/', include('apps.admin.client.urls')),
    url(r'^server/', include('apps.api.server.urls')),

 


To convert it uses the function eval
Ex:
  >>> lUnicodeData = u'[0,1,2]'
  >>> eval(lUnicodeData)
       [0, 1, 2]

 

Install mysql-workbench in Ubuntu

By CreativeSolutions


1. Open a terminal window.

2. Type in the following commands then hit Enter after each.

sudo add-apt-repository ppa:olivier-berten/misc
sudo apt-get update
sudo apt-get install mysql-workbench

3. To start the application, use this command.

    mysql-workbench &