rant_category() got an unexpected keyword argument ‘slug’

rant-category()-got-an-unexpected-keyword-argument-‘slug’

Running into an rant_category() got an unexpected keyword argument 'slug' on my django project. Basically, I just need to get the slug of the #category in my app to show it in the url.

Here’s my code:

views.py

class RantListView(ListView)
    model = Rant
    context_object_name = "rants"
    template_name = "rants/rant_list.html"


class

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
10-cool-codepen-demos-(february-23)

10 Cool CodePen Demos (February 23)

Next Post
google-coding-interview-question

Google Coding INTERVIEW Question

Related Posts