mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
magic-removal: Moved django.core.meta to django.db.models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
This is a basic model with only two non-primary-key fields.
|
||||
"""
|
||||
|
||||
from django.core import meta
|
||||
from django.db import models
|
||||
|
||||
class Article(meta.Model):
|
||||
headline = meta.CharField(maxlength=100, default='Default headline')
|
||||
pub_date = meta.DateTimeField()
|
||||
class Article(models.Model):
|
||||
headline = models.CharField(maxlength=100, default='Default headline')
|
||||
pub_date = models.DateTimeField()
|
||||
|
||||
API_TESTS = """
|
||||
# No articles are in the system yet.
|
||||
|
||||
Reference in New Issue
Block a user