Changes between Version 3 and Version 4 of CookBookSplitModelsToFiles
- Timestamp:
- Nov 30, 2006, 2:29:25 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookSplitModelsToFiles
v3 v4 41 41 42 42 Ok so the example is a bit stupid but it should illustrate the point. 43 44 == Providing initial sql data for models == 45 46 If you provide initial sql data for you models (as described in [http://www.djangoproject.com/documentation/model_api/#providing-initial-sql-data Providing initial SQL data]) you should notice that at least in Django 0.95 the path for sql files is different when this recipe is applied. In this case the path is: 47 48 {{{<appname>/models/sql/<modelname>.sql}}}