Function-based generic views have been deprecated
问题 DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead. I keep getting this warning, when I'm running my site. What does this mean and how can I fix it? 回答1: Django 1.3 introduced class-based views and also added a range of generic class-based views. Django also has documentation about migrating function-based views to class-based views. There is not really much more to say about it: your project currently uses function-based views whereas class