在windows上遵循本教程:
键入这一行:
djangocms -p . my_site
我有一个错误:
OSError: Could not import settings 'ira_site.settings'
(Is it on sys.path? Is there an import error in the settings file?):
No module named 'ira_site'
ira_site是一个不相关的django (no-cms)项目的名称。
我对整个“c:\python34 34”和"virtual_en
我已经坚持这个问题好几天了。我正在创建一个网站,厨师可以把他们的自助餐,他们的菜肴等。
这是我特别用来请厨师的代码:
//cs is the chefService
@GetMapping("/chef/{id}")
public String getChef(@PathVariable("id")Long id, Model model) {
Chef chef = cs.findById(id);
model.addAttribute("chef",chef);
return "che