Changes between Version 27 and Version 28 of RemovingTheMagic
- Timestamp:
- Jan 6, 2006, 4:14:24 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v27 v28 267 267 The {{{class META}}} within models should now be {{{class Meta}}}. The latter is nicer on the eyes. 268 268 269 == get_object_or_404 and get_list_or_404 now take model classes, not modules == 270 271 '''Status: Done''' 272 273 Old: 274 {{{ 275 #!python 276 get_object_or_404(polls, pk=1) 277 }}} 278 279 New: 280 {{{ 281 #!python 282 get_object_or_404(Poll, pk=1) 283 }}} 284 269 285 == Move "auth" and "core" models to django.contrib == 270 286