# Path: common/models/base.py
# class BaseModel(models.Model):
#     class Meta:
#         abstract = True
#         app_label = 'common'


from django.db import models
from common.models.base import BaseModel
# coding=utf-8

class FriendLink(BaseModel):
    name = models.CharField(verbose_name=u'名称', max_length=100, unique=True,
                           help_text=u'将作为链接显示文字')
    desc = models.CharField(verbose_name=u'描述', max_length=200, null=True, blank=True)
    link = models.URLField(verbose_name=u'链接', max_length=200, unique=True)


# Path: common/models/base.py
# class BaseModel(models.Model):
#     class Meta:
#         abstract = True
#         app_label = 'common'


# Path: common/models/friendlink.py
from django.db import models
from common.models.base import BaseModel

# coding=utf-8

class FriendLink(BaseModel):
    name = models.CharField(verbose_name=u'名称', max_length=100, unique=True,
                           help_text=u'将作为链接显示文字')
    desc = models.CharField(verbose_name=u'描述', max_length=200, null=True, blank=True)
    link = models.URLField(verbose_name=u'链接', max_length=200, unique=True)


    class Meta(BaseModel.Meta):