摘要:
1)模型的典型用法。from django.db import modelsclass Author(models.Model):STATUS_CHOICES = ( (1,"Needs Edit"), (2,"Needs Aprroval"), (3,"Published"), (4,"... 阅读全文
摘要:
1)模型的典型用法。from django.db import modelsclass Author(models.Model):STATUS_CHOICES = ( (1,"Needs Edit"), (2,"Needs Aprroval"), (3,"Published"), (4,"... 阅读全文