今天我们来谈谈Nancy中的静态文件(JavaScript,CSS等)该如何处理. 在前面的Demo中,我们也已经用到了这一块的内容, 但并没有深入理解,只是停留在使用的层面上. 在进入今天的正题之前,我们先来简单看看我们熟悉的ASP.NET MVC中是如何管理我们项目中的这些静态文件呢? 其实当我们新建一个MVC的项目时,已经生成了一个“模板”让我们参考, 这个“模板”就是App_Start下面的 BundleConfig.cs public class BundleConfig { // F
settings.py """ Django settings for myproject project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of setting