在一个域下部署django和django cms?

时间:2016-10-09 07:37:41

标签: python django mod-wsgi django-cms

我是初学者,我需要在一个域下托管多个Django和django cms 我正在使用mod_wsgi处理程序进行托管。我曾经遵循以下配置。

@Override
public void onRequestPermissionsResult(int requestCode,
    String permissions[], int[] grantResults) {
switch (requestCode) {
    case MY_PERMISSIONS_REQUEST_LOCATION: {
        // If request is cancelled, the result arrays are empty.
        if (grantResults.length > 0
            && grantResults[0] == PackageManager.PERMISSION_GRANTED) {

            // permission was granted, Execute the asynctask here
            new GetLocationTask(Activity).execute();
        } else {

            // permission denied, boo! Disable the
            // functionality that depends on this permission.
        }
        return;
    }

    // other 'case' lines to check for other
    // permissions this app might request
}
}

当我调用example.tk时,它将正确渲染我的djangocms网站,但是example.tk/djanosite显示404未找到。 任何解决方案都可以表示赞赏。

0 个答案:

没有答案