django

标签: django

pycharm创建运行django项目

1.创建项目File–>new Project 2.创建完的目录结构如下 3.修改urls.py的内容 from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'Django.views.home', name='home'), # url(r'^Django/', include(

阅读全文...