Return to Snippet

Revision: 42192
at March 1, 2011 04:12 by myoffe

Initial Code
# 1. Create a models folder under myApp.

# 2. Delete and add a file in the models folder for each model model_name.

# 3. Add the following to each model file :

class Meta: 
    app_label = 'myApp'    

# 4. Add a line in models/_init__.py_ for each model file :

from myModelFile import myModel

Initial URL

Initial Description

Initial Title
Splitting up Django models

Initial Tags

Initial Language