You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create my own category model and I want to use your views, in the views is mentioned from modes import Category but I have my own model, so I create MyDetailView and inherit CategoryDetailView and change model to my category model. After this function call get_category_for_path is using yours category problem and django is complaining for missing table. For me is better aproach if it is possible to use this syntax get_category_for_path(path, self.model.objects.all) Possible?
The text was updated successfully, but these errors were encountered:
When I create my own category model and I want to use your views, in the views is mentioned from modes import Category but I have my own model, so I create MyDetailView and inherit CategoryDetailView and change model to my category model. After this function call get_category_for_path is using yours category problem and django is complaining for missing table. For me is better aproach if it is possible to use this syntax get_category_for_path(path, self.model.objects.all) Possible?
The text was updated successfully, but these errors were encountered: