Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
基于Django构建Blog(06):Admin
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Article, Tag, Category
admin.site.register(Article)
admin.site.register(Tag)
admin.site.register(Category)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment