django1/tests/syncdb_signals/models.py

12 lines
215 B
Python

# from django.db import models
# class Author(models.Model):
# name = models.CharField(max_length=100)
# class Meta:
# ordering = ['name']
# def __unicode__(self):
# return self.name