~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to tests/migrations/migrations_test_apps/migrated_unapplied_app/models.py

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.db import models
 
2
 
 
3
 
 
4
class OtherAuthor(models.Model):
 
5
    id = models.AutoField(primary_key=True)
 
6
    name = models.CharField(max_length=255)
 
7
    slug = models.SlugField(null=True)
 
8
    age = models.IntegerField(default=0)
 
9
    silly_field = models.BooleanField(default=False)
 
10
 
 
11
    class Meta:
 
12
        app_label = "migrated_unapplied_app"