Commit 45b874fc authored by guanghongwei's avatar guanghongwei

修改models顺序

parent 538b8c8a
from django.db import models
class Group(models.Model):
name = models.CharField(max_length=50)
def __unicode__(self):
return self.name
class User(models.Model):
username = models.CharField(max_length=50)
password = models.CharField(max_length=100)
......@@ -15,8 +22,3 @@ class User(models.Model):
return self.username
class Group(models.Model):
name = models.CharField(max_length=50)
def __unicode__(self):
return self.name
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment