557 | | Because there's no longer a concept of {{{module_name}}}, the "info_dicts" passed to [http://www.djangoproject.com/documentation/generic_views/ generic views] no longer accept {{{"app_label"}}} and {{{"module_name"}}}. Instead, pass the parameter {{{"model"}}}, which should be your model class. |
558 | | |
559 | | These examples assume models live in {{{myproject/blog/models.py}}}. |
560 | | |
561 | | Old: |
| 557 | '''This has been made obsolete by QuerySets''' |
| 558 | ---- |
| 559 | ~~Because there's no longer a concept of {{{module_name}}}, the "info_dicts" passed to [http://www.djangoproject.com/documentation/generic_views/ generic views] no longer accept {{{"app_label"}}} and {{{"module_name"}}}. Instead, pass the parameter {{{"model"}}}, which should be your model class.~~ |
| 560 | |
| 561 | ~~These examples assume models live in {{{myproject/blog/models.py}}}.~~ |
| 562 | ---- |
| 563 | |
| 564 | '''Generic Views now use QuerySets instead of the 'model' argument''' |
| 565 | |
| 566 | Oldest: |