Skip to content

Commit

Permalink
feat: index
Browse files Browse the repository at this point in the history
  • Loading branch information
nehzx committed Jun 21, 2017
1 parent ed0c708 commit 9313b2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Admin/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class UserProfile(models.Model):
def __unicode__(self):
return self.username

def __str__(self):
return "用户表"


class UserInfo(models.Model):
"""
Expand All @@ -32,4 +35,11 @@ class UserInfo(models.Model):
def __unicode__(self):
return self.name

def __str__(self):
return "用户信息表"


class Blog(models.Model):
"""
博客信息
"""

0 comments on commit 9313b2c

Please sign in to comment.