fred api django project