Djangoã®ã¢ããªã±ã¼ã·ã§ã³ã§ãmodels.pyã®ã³ã¼ãéãå¤ããªã£ã¦ããã®ã§ãè¤æ°ã®ãã¡ã¤ã«ã«åå²ãã話ã ãããã©ãããããã®ã§æ¸ãã¦ããã試ããã®ã¯Python2.7ãDjango1.4ã testapp/ __init__.py models.py models.py from django.db import models class Foo(models.Model): value = models.IntegerField() class Bar(models.Model): value = models.IntegerField() modelsããã£ã¬ã¯ããªã«ãã ã¾ããmodels.pyã¨åããã£ã¬ã¯ããªé層ã«modelsãã£ã¬ã¯ããªãä½æãã__init__.pyã¨models.pyãåå²ãããã®ãç½®ã testapp/ __init__.py models/ _
{{#tags}}- {{label}}
{{/tags}}