,Decimal,Char,File,Float,FilePath,Text#,Time,Binary,Boolean,BigInterger,NullBoolean,Image,#Interger,OneToOne...#
# 将model加入到admin管理列表中 在admin中
from django.contrib import admin
from books.models import Publisher...STATIC_URL = 'static/'
在模板页面中
...
在urls.py的配置中
from...django.conf.urls.static import static
在最后加入
admin.autodiscover()
urlpatterns = patterns