such as
< H1 > Resource Information < / H1 >class NiHao (models.Model):
mingzi = models.CharField(max_length=60, verbose_name=_(u"/"), blank = True, null = True,)
vip = models.CharField(max_length=60, verbose_name=_(u""), blank = True, null = True,)
body = models.TextField(_(u",,"))
mmtags = models.ManyToManyField("MmTags", verbose_name = _(u""), blank = True)
category = models.ForeignKey("Category", verbose_name = _(""))
level = models.IntegerField(default=2, verbose_name=u"")
user information
class User (AbstractUser):
levels = models.IntegerField(default=0, verbose_name = u"")
nickname = models.CharField(max_length=36, blank=True, null=True, verbose_name=u"")
list_id = models.PositiveIntegerField(_(u""), default = 0)
if a user needs to click a button to see the information in the VIP field in the resource, ajax needs a number to execute aauser.levels-bbnihao.level, such as
if the user views it this time. You need to deduct more points next time. If you don"t know how to implement it with django. How to make users have a logo with this resource.
when the user looks at this information again. No more points need to be deducted
I wonder if this will make people understand the problem I am trying to solve.
Water travel is limited. I really haven"t come up with any ideas. Which one of the great gods will guide you?